100%Ener a sec, 0% the next, How??

Skippy_Cheval

Member!
Joined
Feb 7, 2004
Messages
25
Reaction score
0
Website
Visit site
I'm making a map where, I would need a arbiter to be able to recall, but not always, so its not reliable but still works, hope this is clear enough.

I figured making triggers Always set ener to 100% and always set ener to 0% would make it toggle in between but it stays at one or the other, just trying to figure a way to do this. Oh, I Could make it so

1000 milli seconds after game, set ener to 100%
2000 milli seconds after game, set ener to 0%
3000 milli seconds after game, set ener to 100%
4000 milli seconds after game, set ener to 0%

But that would.. be long....... and take up alot of triggers,

Any help please?:eek:
 

Supa

Member!
Joined
Jan 27, 2004
Messages
150
Reaction score
0
Location
Sturgeon Bay, WI
Well why not use a switch. In witch if the switch is set then the arbiture recalls.
Conditions:
Always

Actions:
Set switch X
Wait 100 miliseconds
Clear switch X
Wait 1000 miliseconds
preserve trigger


Ok that trigger up above would make it so every 1.1 seconds it would set switch X and switch X would look like this:

Conditions:
Switch X is set.

Actions:
Run Ai Script cast recall at location x
Preserve trigger.

There that should do it.
 
Top