HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to assign a special effect to a variable?

09-14-2004, 11:50 PM#1
Guest
If u create a new variable in the object editor u can select 'special effect' for it.
But the default value is 'none' - displayed in grey text, u cant click it.

Now im wondering: How can u add a certain special effect which u have created with a trigger to the variable?

I know for unit groups there is a command like add unit xy to unit group xy, whereas unitgroup xy is a variable with unit values. Is there anything comparable for my special effects?

Thx in advance. :god_help_us:
09-15-2004, 01:01 AM#2
fugly
Create effect - effectname at x, y
set effect = GetLastCreatedEffect
09-15-2004, 07:57 PM#3
JoSanchez55
Put a "Set Variable" action right after you create the effect. It would look like:

Create special effect on unit. (or however you are making the effect)
Set variable name = Last Created Effect.