Staredit Network

Staredit Network -> UMS Assistance -> Help with switches
Report, edit, etc...Posted by Entropy_EX on 2005-09-17 at 21:15:25
How do you get the switch to reset without it repeating over and over again?
Report, edit, etc...Posted by SacredElf on 2005-09-17 at 21:20:47
Toggle, or just turning it off - on
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-17 at 21:22:24
Conditions:
(The condition...let's just say always)

Actions:
(SetSwitch)Clear Switch 1

thats it...there is no reset. its based on what you use. if you use actions when it is set then you need to clear it to "reset" it. if you use actions when it is cleared then you need to set it to "reset" it. if you do actions on both...then you need to change something cuz a switch can only be set or cleared.
Report, edit, etc...Posted by Entropy_EX on 2005-09-17 at 21:23:42
Argh, no I meant, like something comes to location 1 and a switch is set. Then the actions of the switch go, and I want it to do that more than once, but not like preserve trigger. WHAT do I do!
Report, edit, etc...Posted by SacredElf on 2005-09-17 at 21:27:51
ermmm dunno about this im just thinkin

C: Switch 1 On
-
A: Set Switch 1 off
A: Preserver ...

C: Switch 1 Off
-
A: Set Switch 1 on
A: Preserver ...
Report, edit, etc...Posted by Entropy_EX on 2005-09-17 at 21:42:53
K thanks. i'll try it.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-17 at 21:44:09
No i think i get what you want.
------------------------------------------------
Trigger 1

Conditions:
Player 1 brings 1 unit to location 1

Actions:
Set Switch 1
Preserve Trigger
------------------------------------------------
Trigger 2

Conditions:
Switch 1 is set

Actions:
Clear switch 1
------------------------------------------------
Is that it?

ADDITION:
Also there is no "on" "off" switch on switches. Its set and cleared.
Report, edit, etc...Posted by Kumano on 2005-09-17 at 22:03:12
More then once and no preserve trigger? I think you could add 1 to a death count whenever it gets set then clear it and make it unable to be set once the death count reaches X like:

Trigger
Conditions:
¤ Player 1 brings unit to location 1
¤ Deaths of (unused unit) is at most X
¤ Switch 1 is cleared
Actions:
¤ Set Switch 1
¤ Add 1 deaths for (unused unit)
¤ Preserve Trigger


Trigger
Conditions:
¤ Switch 1 is set
Actions:
¤ Whatever you want it to do
¤ Clear Switch 1
¤ Preserve Trigger
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-18 at 13:29:33
QUOTE(Kumano @ Sep 17 2005, 06:02 PM)
More then once and no preserve trigger?
[right][snapback]316269[/snapback][/right]

Oops i missed one. thanks for pointing it out. yes i did mean to put a preserve trigger on trigger 2 happy.gif
Report, edit, etc...Posted by Kumano on 2005-09-18 at 14:02:07
I actually was talking about what he said since he only wanted it to happen limited amount of times and not infinitely.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-18 at 14:28:19
QUOTE(Kumano @ Sep 18 2005, 10:01 AM)
I actually was talking about what he said since he only wanted it to happen limited amount of times and not infinitely.
[right][snapback]316635[/snapback][/right]

oooooooh. okay.
Report, edit, etc...Posted by Toothfariy on 2005-09-18 at 14:35:25
use counters. when a score is so and so, stop the switch. like have it so on a second trig when it does what it does, have the condisions say at most playerX has 49counters. and when ever the switch fires, add a counter. so do what kumano did except place add counters in there. i think that should work.

>>Edit: oops lol. somone already siad what i just did lol. sry
Next Page (1)