- Joined
- Aug 4, 2008
- Messages
- 279
Well, I made a map with gravity and moving.
When i test it, its ok, sometimes the press bug, but when i play with other players, dont work anything, why?
When i test it, its ok, sometimes the press bug, but when i play with other players, dont work anything, why?
-
Falling P1
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
- Set ConstantLocation[(Player number of (Owner of Humans[1]))] = (Position of Humans[1])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Terrain type at ConstantLocation[(Player number of (Owner of Humans[1]))]) Equal to Icecrown Glacier - Rough Dirt
-
Then - Actions
- Set TempLocation[(Player number of (Owner of Humans[1]))] = (ConstantLocation[(Player number of (Owner of Humans[1]))] offset by 10.00 towards 270.00 degrees)
- Unit - Move Humans[1] instantly to TempLocation[(Player number of (Owner of Humans[1]))]
- Custom script: call RemoveLocation (udg_ConstantLocation[(GetPlayerId(GetOwningPlayer(udg_Humans[1])))])
- Custom script: call RemoveLocation (udg_TempLocation[(GetPlayerId(GetOwningPlayer(udg_Humans[1])))])
-
Else - Actions
- Unit - Order Humans[1] to Hold Position
- Custom script: call RemoveLocation (udg_ConstantLocation[(GetPlayerId(GetOwningPlayer(udg_Humans[1])))])
- Custom script: call RemoveLocation (udg_TempLocation[(GetPlayerId(GetOwningPlayer(udg_Humans[1])))])
-
If - Conditions
-
Events
-
LeftMove
-
Events
- Player - Player 1 (Red) Presses the Left Arrow key
- Player - Player 2 (Blue) Presses the Left Arrow key
- Player - Player 3 (Teal) Presses the Left Arrow key
- Player - Player 4 (Purple) Presses the Left Arrow key
- Player - Player 5 (Yellow) Presses the Left Arrow key
- Player - Player 6 (Orange) Presses the Left Arrow key
- Player - Player 7 (Green) Presses the Left Arrow key
- Player - Player 8 (Pink) Presses the Left Arrow key
- Player - Player 9 (Gray) Presses the Left Arrow key
- Player - Player 10 (Light Blue) Presses the Left Arrow key
- Player - Player 11 (Dark Green) Presses the Left Arrow key
-
Conditions
- PlatformState[(Player number of (Triggering player))] Equal to True
-
Actions
- Unit Group - Add Humans[(Player number of (Triggering player))] to LeftKeyPress
-
Events
-
ReleaseLeft
-
Events
- Player - Player 1 (Red) Releases the Left Arrow key
- Player - Player 2 (Blue) Releases the Left Arrow key
- Player - Player 3 (Teal) Releases the Left Arrow key
- Player - Player 4 (Purple) Releases the Left Arrow key
- Player - Player 5 (Yellow) Releases the Left Arrow key
- Player - Player 6 (Orange) Releases the Left Arrow key
- Player - Player 7 (Green) Releases the Left Arrow key
- Player - Player 8 (Pink) Releases the Left Arrow key
- Player - Player 9 (Gray) Releases the Left Arrow key
- Player - Player 10 (Light Blue) Releases the Left Arrow key
- Player - Player 11 (Dark Green) Releases the Left Arrow key
- Conditions
-
Actions
- Unit Group - Remove Humans[(Player number of (Triggering player))] from LeftKeyPress
-
Events
-
MovingLeft
-
Events
- Time - Every 0.05 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in LeftKeyPress and do (Actions)
-
Loop - Actions
- Set PointLeft[(Player number of (Owner of Humans[(Player number of (Triggering player))]))] = ((Position of Humans[(Player number of (Triggering player))]) offset by 14.00 towards 180.00 degrees)
- Unit - Make Humans[(Player number of (Triggering player))] face 180.00 over 0.00 seconds
- Unit - Move Humans[(Player number of (Triggering player))] instantly to PointLeft[(Player number of (Owner of Humans[(Player number of (Triggering player))]))]
- Custom script: call RemoveLocation (udg_PointLeft[GetConvertedPlayerId(GetOwningPlayer(udg_Humans[GetConvertedPlayerId(GetTriggerPlayer())]))])
-
Loop - Actions
-
Unit Group - Pick every unit in LeftKeyPress and do (Actions)
-
Events
Last edited: