• Visit Rebornbuddy
  • [CB] Updated InteractWith (With InteractTime)!

    Discussion in 'Archives' started by killakaz, Jan 30, 2011.

    1. killakaz

      killakaz Community Developer

      Joined:
      Nov 18, 2010
      Messages:
      341
      Likes Received:
      25
      Trophy Points:
      28
      This is a modified version of the original InteractWith by Nesox, it now has the option to change the time it interacts with Objects/Npc's that you set, which is optional so if you do not add the optional argument it will behave like the original behavior.

      Options:
      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. Default Value:100 yards
      [Optional]InteractTime: The time it will interact with. Default Value:3000 = 3 sec
      ObjectType: the type of object to interact with, expected value: Npc/Gameobject
      X,Y,Z: The general location where these objects can be found

      Example:
      PHP:
      <CustomBehavior File="InteractWith" QuestId="0" ObjectType="Npc" MobId="0" NumOfTimes="1" CollectionDistance="50" InteractTime="5000" X="0" Y="0" Z="0" />
       

      Attached Files:

    Share This Page