Staredit Network

Staredit Network -> UMS Assistance -> Building that produces gas
Report, edit, etc...Posted by CheezyTheCheezeCake on 2006-03-31 at 10:01:25
Ok,so i want to do so when you build an extractor,it produces one gas every 12 seconds. Not like you take a builder and take gas from the extractor. Just so it makes gas itself. How do i do this?
Report, edit, etc...Posted by Corbo(MM) on 2006-03-31 at 10:40:39
You can have a countdown timer that resets after 12 seconds and trigger will be like
CONDITION
countdown timer is 0
player X brings at least 1 extractor to anywhere
ACTIONS
add 12 gas for current player
preserve trigger

or you can just have waits
CONDITIONS
player x brings at least 1 extractor to anywhere
ACTIONS
add 12 gas for current player
wait 12000 miliseconds
preserve trigger
Report, edit, etc...Posted by Urmom(U) on 2006-03-31 at 15:48:54
Umm, he said he wanted to create 1 gas. tongue.gif

But Corbo, you left something out in your first trigger. You can do this:

null
Trigger
Conditions:
¤ Countdown Timer is exactly 0
¤ Commands exactly 1 Extractor
Actions:
¤ Set Countdown Timer to 18 game seconds
¤ Add 1 Gas
¤ Preserve Trigger

Report, edit, etc...Posted by Corbo(MM) on 2006-03-31 at 16:50:03
oh yeah the set countdown timer tongue.gif thx for correcting me urmon and anyways the 1 gas thing i got confused with the 12 seconds tongue.gif btw you have 18 game seconds and it should be 12 tongue.gif
Report, edit, etc...Posted by Urmom(U) on 2006-03-31 at 16:52:44
Game seconds are 1.5 times faster than normal seconds (On Fastest). 12 x 1.5 = 18
Report, edit, etc...Posted by Corbo(MM) on 2006-03-31 at 17:26:58
really? i didn't know that tongue.gif they say you learn something new everyday, and it applies to me too tongue.gif
Report, edit, etc...Posted by fritfrat(U) on 2006-03-31 at 17:49:07
Waits and death counters would not be affected by game speed, whereas the countdown timer would be.

I'd just use the waits if they don't become a problem, and if not, just do an adding death counter. Once it hits 144, set to 0, add 1 gas.
Next Page (1)