HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

unit spawning trigger

05-15-2005, 10:02 PM#1
Guest
this is the trigger

Gnoll Caster Spawn a
Events
Time - Every 45.00 seconds of game time
Conditions
(Gnoll Caster Tent 0010 <gen> is alive) Equal to True
Actions
Unit - Create 1 Gnoll Caster for Player 6 (Orange) at (Center of Unit Spawn Gnoll a <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To (Center of Unit Spawn Troll a <gen>)


now i tested it out and the unit spawns fine goes where it should go but it doesnt stop spawning when the building in conditions is dead what is the problem?
05-16-2005, 12:14 AM#2
Guest
Quote:
Originally Posted by orb

Gnoll Caster Spawn a
Events
Time - Every 45.00 seconds of game time
Conditions
(Gnoll Caster Tent 0010 <gen> is alive) Equal to True
Actions
Unit - Create 1 Gnoll Caster for Player 6 (Orange) at (Center of Unit Spawn Gnoll a <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To (Center of Unit Spawn Troll a <gen>)
I don't see anything wrong, maybe you have another trigger that is interfering with this trigger or there's another trigger you're not showing us. But ill look into it.

EDIT:This most likly isn't the best way but try:
Conditions
(Life of (Gnoll Caster Tent 0010 <gen>)) Greater than 0.00

NOTE: Double check that you have selected the RIGHT TENT and not ANOTHER TENT

EDIT:
Another way, though it involves more triggers.
Events
Unit - (Gnoll Caster Tent 0010 <gen>) Dies
Actions
Trigger - Turn off (Gnoll Caster Spawn A)

Peace,
Destruction
05-23-2005, 08:43 AM#3
Guest
thxs i will try that