• Visit Rebornbuddy
  • <UseSpell> Question

    Discussion in 'Community Developer Forum' started by SuperBigMan, Jun 13, 2016.

    1. SuperBigMan

      SuperBigMan New Member

      Joined:
      Jun 9, 2016
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      0
      SoSimple Question or not simple i am trying to get the use spell to use a mount spell and i have it coded in as:
      Code:
            <If Condition="GetQuestStep(67799) == 2">
              <ExFlyTo XYZ="23.70979, 46.83902, -90.37689"/>
              <ExFlyTo XYZ="458.9788, 44.23521, 66.18493"/>
              <ExFlyTo XYZ="516.5018, -51.27571, 97.35883"/>
              <UseSpell Name="Fumigate" SpellId="5872" NpcId="2006887" QuestId="67799" XYZ="522.8506, -51.06585, 91.52107"/>
            </If>
      Sadly Everytime it goes to do the spell it does "DoAction 23" Which im assuming is the dismount command then walks over to the target and trys to use the spell which it cannot because i am not on the mount.
      Is there anyway to stop the action and just have it use the spell at said location.
      Thanks.

      Edit: After Further Testing i got the mount to go right to a point and set down exactly on the spot but RB still dismounted even when not moving to the object so i am at a loss.
       
      Last edited: Jun 13, 2016
    2. iyake

      iyake Member

      Joined:
      Oct 19, 2014
      Messages:
      143
      Likes Received:
      5
      Trophy Points:
      18
      I remember a usespell tag a while back that had a StayMounted attribute. try using that attribute, or look for an old amal'jaa profile, which had mounted spells and see how they did it
       
    3. SuperBigMan

      SuperBigMan New Member

      Joined:
      Jun 9, 2016
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      0
      Thanks for the info i Figured out how to get them to stay mount but thanks for posting!
       
    4. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      The no dismount override is in a new tag (soUseSpellTag.cs), the one SuperBigMan is using is the original by Kagamiihiragi. Mine can be found on my SVN. Using DismountAfter="False" attribute will disable the automatic dismount. Currently the new tag will be in conflict with the old UseSpell.cs but after I update, the new tag will have this compatability removed.
       

    Share This Page