Switches?
Feb 3 2009, 5:18 am
By: InvisibleDerek  

Feb 3 2009, 5:18 am InvisibleDerek Post #1



K i want to make 50 units spawn in total but 1 at a time with a 2500 milliseconds interval in between each unit, how can i do that without using "wait" or preserve trigger.Is there a switch trigger that i use to make it? im sorta new to mapping so i sound like a n33b

Post has been edited 1 time(s), last time on Feb 3 2009, 12:59 pm by NudeRaider. Reason: merged posts



None.

Feb 3 2009, 5:36 am Vrael Post #2



1). Don't double post ;)
2). Use the maplantis wiki http://www.staredit.net/maplantis/index.php?sid=578837d3ee;wiki=27
3). Try a death count timer.

Are you using hyper triggers?
If so, a trigger like this will add 12 death counts per second, or 24+6 = 30 death counts in 2.5 seconds = 2500milliseconds.

Conditions:
Always
Actions: Add 1 deaths of Counter Unit for Player X.
Preserve trigger.

Then have another trigger for the spawning of the unit, when death count reaches 30.

Conditions:
Player X has suffered exactly 30 deaths of Counter Unit
Actions:
Spawn 1 "Unit" at Location for Player X
Set deaths of "Counter Unit" for Player X to 0
Preserve trigger

This will cycle over and over and over.



None.

Feb 3 2009, 8:59 am rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

better yet, use the sen wiki
http://www.staredit.net/wiki/Death_Counters
just about everything is transferred over.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-22. : 10:20 pm]
anoeth47 -- Sweet
[2026-4-22. : 7:48 pm]
NudeRaider -- https://staredit.net/381642/ really makes you appreciate (again) how good sc music is.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
Please log in to shout.


Members Online: O)FaRTy1billion[MM], Web Founders USA