<CustomBehavior File="UseItemTargetLocation" QuestId="12925" ItemId="41612" MinRange="5" WaitTime="1500" GameObjectId="191840" X="7431.436" Y="182.3643" Z="768.6315" />
[Behavior: UseItemTargetLocation(warning)]: Unrecognized attribute 'GameObjectId' (with value of '191840') will be ignored.
[Behavior: UseItemTargetLocation(error)]: The 'MoveX' attribute is required, but missing. (Attribute names are case-sensitive.)
[Behavior: UseItemTargetLocation(error)]: The 'MoveY' attribute is required, but missing. (Attribute names are case-sensitive.)
[Behavior: UseItemTargetLocation(error)]: The 'MoveZ' attribute is required, but missing. (Attribute names are case-sensitive.)
Stopping the bot!
/// ##Syntax##
/// QuestId: If you have a questID and it is > 0 then it will do the behavior over and over until the quest is complete, otherwise it will use NumOfTimes.
/// ItemId: The Item you wish to use / Throw.
/// MinRange: The min distance you are allowed to throw the item.
/// WaitTime: How long to wait after thrown.
/// NPCID: If you want to use an Mob Location rather then Target Coords.
/// GameObjectID: If you want to use an Object Location rather then Target Coords.
/// MoveX,MoveY,MoveZ: Where you will throw the item from. ****Do not use this arg if you have NpcID or GameObjectID > 0****
/// TargetX,TargetY,TargetZ: Where you will Target the ground to throw. ****Do not use this arg if you have NpcID or GameObjectID > 0****
/// X,Y,Z: The general location where these objects can be found
<CustomBehavior File="UseItemNat" QuestId="12330" NpcId="27627" ItemId="37665" HpLeftAmount="100" NumOfTimes="1" WaitTime="2000" Range="30" CollectionDistance="100" X="4033.379" Y="-4403.47" Z="262.1056" />
PHP:<CustomBehavior File="UseItemNat" QuestId="12330" NpcId="27627" ItemId="37665" HpLeftAmount="100" NumOfTimes="1" WaitTime="2000" Range="30" CollectionDistance="100" X="4033.379" Y="-4403.47" Z="262.1056" />
This is your UseItemOn ... it fires just fine, but then it doesn't get out of it's loop. So it just keeps shooting her (tranqing her) and doesn't go to the next statement, which is to jump on her horse and ride home![]()
ujellybrah said:Would this make the quest profiles run better?