Easy Question

K

Kyrios

Guest
How do i put

"Set Variable = Last Created Special Effect"

into a custom script?
 

noworries

New Member
Reaction score
4
set udg_Variable = GetLastCreatedEffectBJ()

Where Variable is a Special Effect Variable.

That's what you'd put in the custom script action, is that what you were asking?
 

Exide

I am amazingly focused right now!
Reaction score
448
If you're gonna use Custom Scripts you might as well optimize it.
Instead of using two functions: Add Special Effect, and Set - Last created effect..
You can:

Code:
set udg_*Your_Variable* = AddSpecialEffectLoc("Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl", udg_*Your_Point_Variable*)

-Then it will both add the effect AND set it to the variable.
 
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