What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

CustomBehavior Tags

Estfis

New Member
Joined
Aug 1, 2010
Messages
13
Reaction score
0
I cant seem to get them to work.
I always get
Code:
Unable to compile CustomBehavior for tag: <CustomBehavior File="InteractWith" Location="-11032.59 251.5088 27.62622" />
Honorbuddy stopped
Am I doing something wrong?
 
I haven't had a chance to update the Wiki for this behavior yet, but from the InteractWith comments it takes the following parameters:

Code:
    /// QuestId: Id of the quest.
    /// MobId: Id of the object to interact with.
    /// NumOfTimes: Number of times to interact with object.
    /// [Optional]CollectionDistance: The distance it will use to collect objects. DefaultValue:100 yards
    /// ObjectType: the type of object to interact with, expected value: Npc/Gameobject
    /// X,Y,Z: The general location where theese objects can be found

If the parameters is not declared optional, you must supply it; otherwise, Honorbuddy will stop.

cheers,
chinajade
 
Estfis said:
What am I doing wrong?
Could you please give me an example?

Unable to compile CustomBehavior for tag: <CustomBehavior File="BasicInteractWith" QuestId="26723" ObjectId="204816" NumberOfTImes="1" Location="-10320.27 377.0787 65.30691" MoveTo="1" />
Honorbuddy stopped

In the first example, you asked about InteractWith. Now, you're asking about BasicInteractWith. They are not the same behaviors, and don't take the same arguments.

The documentation for InteractWith (for now) is...
Code:
    /// QuestId: Id of the quest.
    /// MobId: Id of the object to interact with.
    /// NumOfTimes: Number of times to interact with object.
    /// [Optional]CollectionDistance: The distance it will use to collect objects. DefaultValue:100 yards
    /// ObjectType: the type of object to interact with, expected value: Npc/Gameobject
    /// X,Y,Z: The general location where theese objects can be found

The documentation for BasicInteractWith is here...
[wiki]Honorbuddy Custom Behavior: BasicInteractWith[/wiki]


So, which behavior would you like help with? Pick one, supply the required arguments, then post back if you can't get it to work.

cheers,
chinajade
 
Last edited:
Still having Problems with Interact with.
Code:
<HBProfile>
  <QuestOrder>
    <If Condition="HasQuest(26736)" >
      <Runto QuestId="26736" X="-11563.93" Y="-564.3926" Z="33.68271"/>
      <CustomBehavior File="BasicInteractWith" QuestId="26736" ObjectType="Gameobject" ObjectId="204828" MoveTo="2" />
    </If>
  </QuestOrder>
</HBProfile>

Unable to compile CustomBehavior for tag: <CustomBehavior File="BasicInteractWith" QuestId="26736" ObjectType="Gameobject" ObjectId="204828" MoveTo="2" />
Honorbuddy stopped
 
Still having Problems with Interact with.
Code:
<HBProfile>
  <QuestOrder>
    <If Condition="HasQuest(26736)" >
      <Runto QuestId="26736" X="-11563.93" Y="-564.3926" Z="33.68271"/>
      <CustomBehavior File="BasicInteractWith" QuestId="26736" ObjectType="Gameobject" ObjectId="204828" MoveTo="2" />
    </If>
  </QuestOrder>
</HBProfile>

Dont use the basic, use InteractWith

Heres an example:

<CustomBehavior File="InteractWith" QuestId="25839" MobId="41398" NumOfTimes="1" ObjectType="Npc" X="-5464.174" Y="-644.5703" Z="394.3766" />
 
Thanks I got it.
Just a note might be a good idea to switch MobId to InteractId Less confusing.
 
Back
Top