I_RULE_YOU
New Member
- Reaction score
- 34
What would a trigger that disabled trade for all players for the first 30 seconds of the game look like? + Rep is answered.
Untitled Trigger 001
Events
Map initialization
Conditions
Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
For each (Integer B) from 1 to 10, do (Actions)
Loop - Actions
Player - Make (Player((Integer A))) treat (Player((Integer B))) as an Neutral
Untitled Trigger 001 Copy
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
For each (Integer B) from 1 to 10, do (Actions)
Loop - Actions
Player - Make (Player((Integer A))) treat (Player((Integer B))) as an Ally
Disabling of 2K hack
Events
Map initialization
Conditions
Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
For each (Integer B) from 1 to 10, do (Actions)
Loop - Actions
Player - Make (Player((Integer A))) treat (Player((Integer B))) as an Neutral
Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision
Player - Make (Player(1)) treat Player 2 (Blue) as an Ally with shared vision
Player - Make (Player((Integer A))) treat Player 2 (Blue) as an Ally with shared vision
Time - Elapsed game time is 30.00 seconds
well... New Event -> Time -> Time Elapsed -> Elapsed game time is 30.00 seconds
Time - Elapsed game time is (30.00 + 0.00) seconds
I think under Game - Map Flag there is an option to enable/disable trading. I don't have the world editor open at the moment, but I know this function exists somewhere.
I tried this already, but instead it says:
Code:Time - Elapsed game time is (30.00 + 0.00) seconds
Disabling of 2k Hack
Events
Map initialization
Conditions
Actions
Game - Set Restrict resource trading to allies to Off
Disabling of 2k Hack B
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Game - Set Restrict resource trading to allies to On
Disabling of 2k Hack
Events
Map initialization
Conditions
Actions
Game - Set Lock resource trading to On
Disabling of 2k Hack B
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Game - Set Lock resource trading to Off
I think under Game - Map Flag there is an option to enable/disable trading. I don't have the world editor open at the moment, but I know this function exists somewhere.