HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Effects triggers

11-29-2002, 02:19 AM#1
Guest
Has anyone played the map Kooler's Revenge RP? In this you can create any effect. I am wondering how Kool-Aid guy did this. Could someone explain, at least a little. I think it has something to do with variables and arrays, but you cannot make an 'effect' variable an array. Help:...:
11-29-2002, 02:34 AM#2
Draco
I don't think that this has anything to do with your problem, but you CAN make the effect a unit's skin and then use a unit or unit group array.

How do you create the effects in their map?
11-29-2002, 03:33 AM#3
Guest
Actually, I have thought of another way. You could make a string variable as an array, with all the effects, and then, when the player says something like "create effect 001" you could convert the 001 to the effects variable's index number and create the corresponding effect. Did that make sense? I'm not good at explaining things. I can do this, if I knew how I could make it convert the substring into the variable index number. Tell me how to do this, and I will be able to go on! Yay!:D
11-29-2002, 03:43 AM#4
Guest
I got it! Ok, thx.:cool: :dance: :ggani:
11-30-2002, 05:55 AM#5
Guest
I figured that out, now all I need is the names of the various places on the units where you can place effects(default: overhead). If you know these, or know where I could find them, please, tell me!


Thx!:infth:
11-30-2002, 09:37 AM#6
Killer927
Taken directly from sfx attach points from umswe 3.2:

Quote:
The following information might be of use to those of you
attempting to use the "Special Effect - Create Special Effect
On Unit" trigger action. The first parameter for this action
is an attachment point name, which is a string value that you type
in manually.

One or more modifiers can be added to an attachment point name to
specify the exact location to which you want to attach the special
effect. These modifiers are optional, and are not defined for all
units and attachment point names. Example attachment point names:
"overhead", "hand", "hand left", "foot
right mount rear".

Attachment Point Names:
overhead (floats over the unit's head, but doesn't sway with
the head as it animates)
head (sways with the unit's animation)
chest
origin (usually at the base of a unit's feet)
hand
foot
weapon (for heroes)
sprite (for buildings)
medium (for buildings)
large (for buildings)

Attachment Point Modifiers:
left
right
mount (for mounted units)
rear (for quadrupeds)
first (for buildings)
second (for buildings)
third (for buildings)
fourth (for buildings)
fifth (for buildings)
sixth (for buildings)
rallypoint (for buildings)
11-30-2002, 07:16 PM#7
Guest
thx!