Synthetics
New Member
- Reaction score
- 7
Hey peeps i have a mini game in my map where you choose one of 3 levers (destructable doodads) but when the lever is hit i can get it to work. i Have something that kind of works but isn't what i want it to do as i want it to be for multi player this is the trigger that works.
Prize set up L1
Events
Destructible - Lever 4521 <gen> dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Player - Add 150 to Player 1 (Red) Current gold <-- [I get the gold] Game - Display to (Player group((Owner of (Triggering unit)))) for 10.00 seconds the text: Congratulations, Yo...<--[this doesn't show me anything] Wait 5.00 seconds
Unit Group - Pick every unit in (Units in Unit select <gen>) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Gambling Exit <gen>)
Camera - Apply Gambling Exit <gen> for (Owner of (Triggering unit)) over 0.00 seconds
Trigger - Turn on Set up <gen>
Destructible - Resurrect Lever 4521 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions<--[This whole section except for resurecting the lever and the camera setting/unit move doesn't work ] Game - Display to (Player group((Owner of (Triggering unit)))) for 10.00 seconds the text: Hard luck pal, mayb...
Wait 5.00 seconds
Unit Group - Pick every unit in (Units in Unit select <gen>) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Gambling Exit <gen>)
Camera - Apply Gambling Den <gen> for (Owner of (Triggering unit)) over 0.00 seconds
Destructible - Resurrect Lever 4521 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Trigger - Turn on Set up <gen>
This is the orignal trigger that doesn't work at all
Prize set up L2
Events
Destructible - Lever 4958 <gen> dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Gambling_Lever2 Equal to 1
Then - Actions
Player - Add 150 to (Owner of (Triggering unit)) Current gold
Game - Display to (Player group((Owner of (Triggering unit)))) for 10.00 seconds the text: Congratulations, Yo...
Wait 5.00 seconds
Unit Group - Pick every unit in (Units in Unit select <gen>) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Gambling Exit <gen>)
Camera - Apply Gambling Exit <gen> for (Triggering player) over 0.00 seconds
Trigger - Turn on Set up <gen>
Destructible - Resurrect Lever 4958 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions
Game - Display to (Player group((Triggering player))) for 10.00 seconds the text: Hard luck pal, mayb...
Wait 5.00 seconds
Unit Group - Pick every unit in (Units in Unit select <gen>) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Gambling Exit <gen>)
Camera - Apply Gambling Den <gen> for (Owner of (Triggering unit)) over 0.00 seconds
Trigger - Turn on Set up <gen>
Destructible - Resurrect Lever 4958 <gen> with (Max life of (Last created destructible)) life and Show birth animation
The variable set up is correct becuase of the first trigger i showed you so its doething to do with triggering player but i changed it all to triggering pplayer and it doesn't work.
Any help would be very appreciated
Thanks for your time
Prize set up L1
Events
Destructible - Lever 4521 <gen> dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Player - Add 150 to Player 1 (Red) Current gold <-- [I get the gold] Game - Display to (Player group((Owner of (Triggering unit)))) for 10.00 seconds the text: Congratulations, Yo...<--[this doesn't show me anything] Wait 5.00 seconds
Unit Group - Pick every unit in (Units in Unit select <gen>) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Gambling Exit <gen>)
Camera - Apply Gambling Exit <gen> for (Owner of (Triggering unit)) over 0.00 seconds
Trigger - Turn on Set up <gen>
Destructible - Resurrect Lever 4521 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions<--[This whole section except for resurecting the lever and the camera setting/unit move doesn't work ] Game - Display to (Player group((Owner of (Triggering unit)))) for 10.00 seconds the text: Hard luck pal, mayb...
Wait 5.00 seconds
Unit Group - Pick every unit in (Units in Unit select <gen>) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Gambling Exit <gen>)
Camera - Apply Gambling Den <gen> for (Owner of (Triggering unit)) over 0.00 seconds
Destructible - Resurrect Lever 4521 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Trigger - Turn on Set up <gen>
This is the orignal trigger that doesn't work at all
Prize set up L2
Events
Destructible - Lever 4958 <gen> dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Gambling_Lever2 Equal to 1
Then - Actions
Player - Add 150 to (Owner of (Triggering unit)) Current gold
Game - Display to (Player group((Owner of (Triggering unit)))) for 10.00 seconds the text: Congratulations, Yo...
Wait 5.00 seconds
Unit Group - Pick every unit in (Units in Unit select <gen>) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Gambling Exit <gen>)
Camera - Apply Gambling Exit <gen> for (Triggering player) over 0.00 seconds
Trigger - Turn on Set up <gen>
Destructible - Resurrect Lever 4958 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Else - Actions
Game - Display to (Player group((Triggering player))) for 10.00 seconds the text: Hard luck pal, mayb...
Wait 5.00 seconds
Unit Group - Pick every unit in (Units in Unit select <gen>) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Gambling Exit <gen>)
Camera - Apply Gambling Den <gen> for (Owner of (Triggering unit)) over 0.00 seconds
Trigger - Turn on Set up <gen>
Destructible - Resurrect Lever 4958 <gen> with (Max life of (Last created destructible)) life and Show birth animation
The variable set up is correct becuase of the first trigger i showed you so its doething to do with triggering player but i changed it all to triggering pplayer and it doesn't work.
Any help would be very appreciated
Thanks for your time