Destory all special effects from a unit

NJJ

Cool Member
Reaction score
0
i need help with destroying all the special effects from a unit when it enters a region. Help plz
 

Tinki3

Special Member
Reaction score
418
You can't accurately reference a special effect unless in was stored into a variable before-hand.

For example:
Code:
Actions
    Set Unit = (some unit)
    Special Effect - Create a special effect using X on chest of (Unit)
    Set SFCT[1] = (Last created special effect)
    Special Effect - Create a special effect using X on chest of (Unit)
    Set SFCT[2] = (Last created special effect)
Code:
Events
    Some unit enters some region
Conditions
    (Triggering unit) equal to Unit (in above trig.)
Actions
    For each (Integer A) from 1 to <# of SFCTs> do multiple actions
        Loop - Actions
            Special Effect - Destroy SFCT [(Integer A)]
 

killbuzz

Member
Reaction score
9
i need help with destroying all the special effects from a unit when it enters a region. Help plz

Events - a unit enters a region
condition - entered region (your region) (dont know if i put it right)
actions - destroy special effect (your effect)

you can add a condition as to specific units and what unit types it happenes to. good luck :D

EDIT: lol posted at same time as Tinki3 lol
 

NJJ

Cool Member
Reaction score
0
:) Oh ya thats just like doing dialogs. Thank you for your help it works perfectly
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top