HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Random stun spell?

03-01-2008, 08:46 AM#1
Bsycho
hey guys,

my question is, how u trigger a random stun? say 1-4 seconds (just as example)?

i thought creating a 4 dummy units each with a different stun spell and spawn a random one, or is there a easier way?
03-01-2008, 06:43 PM#2
Anitarf
There is if you use my ABuff system.[/shameless plug]

Otherwise, no, though you don't need 4 different dummy units, you can just have one dummy with a single multi-level spell and before casting it, you set it's level accordingly.
03-01-2008, 07:04 PM#3
Bsycho
of course, why didnt i come up with that, thx buddy =)
+rep
03-03-2008, 05:22 PM#4
A Dreamer
Well i actually use one dummy unit for the entire map and i give the ability i want it to cast with the trigger that i create this unit. If you do that you can just have 1 stun ability (with 4 lvls) and according to the chance set the right lvl of this ability to the dummy. That way you don't have t waste much time on the object editor creating a dummy for each triggered spell you make.