HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Map Help!

08-25-2003, 12:50 AM#1
Warchief-Thrall
Well i'm making my first map.. a standard rpg and I was wondering...


how do i make units spawn at a location ever 4 seconds or so BUT it will stop spawning once a certain unit is dead


Your help (if you do help) is very much appreciated!
08-25-2003, 12:54 AM#2
Warchief-Thrall
sry for dbl posting but I forgot 1 thing


The spawning ONLY starts after a destructible (icy gate) is destroyed!
08-25-2003, 12:56 AM#3
AedonX
Set the spawn trigger to not be run from the start of the map. When the icy gate is destroyed, then run the trigger. When this other condition occurs, turn off the trigger.

Events
Every 30 seconds (periodic event)

Conditions

Actions
Spawn (blank) at (blank) facing default building degrees.


Edit. An edit button exists for a reason. Kindly use it next time. :)
08-25-2003, 01:02 AM#4
Reaper359
And to check if the unit is dead... do this:

EVENT:
If a unit dies

CONDITION:
Unit-type of (Dying Unit) EQUAL TO (blank)

ACTION:
Set Variable: UnitDead (or call it whatever) = True



Then, in the spawning trigger...

EVENT:
Every (blank) seconds

CONDITION:
UnitDead = False

ACTION:
Do the spawning stuff here.



I think you can catch on from there, I THINK.
08-25-2003, 01:28 AM#5
Warchief-Thrall
well thx i got it working :) I love these forums ppl ACTUALLY answer questions