Megser
Well-Known Member
- Joined
- Apr 17, 2010
- Messages
- 1,389
- Reaction score
- 73
As title says, how would the code look like? Because I can't get it working.
Mine:
I get this error, I have tried removing the X Y Z:
Mine:
PHP:
<CustomBehavior File="VehicleBehavior" QuestId="24502" VehicleMountId="48526" VehicleId="37179" AttackButton="1" FireHeight="0.35" FirePoint="X="-8250.97" Y="1484.26" Z="41.4213" TargetPoint="X="-8297.378" Y="1484.756" Z="44.36009" />
I get this error, I have tried removing the X Y Z:
PHP:
[VehicleBehavior(error)]: Attribute 'FireLocationX' is required, but was not provided.
[VehicleBehavior(error)]: Attribute 'FireLocationY' is required, but was not provided.
[VehicleBehavior(error)]: Attribute 'FireLocationZ' is required, but was not provided.
[VehicleBehavior(error)]: The 'FireHeight' attribute's value (saw '0.35') is malformed.
[VehicleBehavior(error)]: Attribute 'TargetLocationX' is required, but was not provided.
[VehicleBehavior(error)]: Attribute 'TargetLocationY' is required, but was not provided.
[VehicleBehavior(error)]: Attribute 'TargetLocationZ' is required, but was not provided.
[VehicleBehavior(warning) @line 78]: Attribute 'FirePoint' is not recognized by this behavior--ignoring it.
[VehicleBehavior(warning) @line 78]: Attribute 'TargetPoint' is not recognized by this behavior--ignoring it.
[VehicleBehavior(error) @line 78]: Stopping Honorbuddy. Please repair the profile!