HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

special effects

06-25-2004, 11:59 PM#1
High Loremaster
If I create two (or more) special effects, like those yellow exclamation points you can put above units, how can I destroy the first one I made when the only option for destroying a special effect is to destroy the "Last Created Special Effect"?

Also, how do you do the same thing with quests (I create two quests and want to mark the first as completed)?
06-26-2004, 12:12 AM#2
sc_freek
variables


___________
06-26-2004, 12:47 AM#3
High Loremaster
Could you elaborate? I'm not good with variables...
06-26-2004, 01:04 AM#4
Murcielago)
make a special effect variable- based on effect.

then in your trigger

Variable- make last created special effect = (ur variable)

then when u want to kill it,

Action-Destroy Effect- destroy variable


that should do it, if u need more than one effect destroyed make more than one variable, and destroy em all
06-26-2004, 01:29 AM#5
Xinlitik
Ok I made a map for you to destroy your effects after a selected period of time. See the example trigger.
06-26-2004, 01:49 AM#6
High Loremaster
Ok, if I create two quests, how do I make it so I can mark the first one created as completed instead of the last one?
06-26-2004, 02:28 AM#7
High Loremaster
Never mind, I got it. Thanks for your help, guys. Now that I know how to use variables, creating my map should be a lot easier.