Spellpack Battle Roar & Deep Wound

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
What exactly did you do?


Lets take an example, never mind the pseudo-code.

- local location casterloc= GetUnitLoc(caster)
- call AddSpecialEffectLoc(modelName, casterloc)
- call RemoveLocation(casterloc)

Now, to get rid of the location,

- call AddSpecialEffect(modelName, GetUnitX(caster), GetUnitY(caster))


To turn a function into a constant one, just add the "constant" prefix to the function and make sure you are not calling any non-constant functions from there.

"constant function SpellPrefix_Abilcode takes nothing returns integer"
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top