w00t22
CSS L4D DoD? Steam ID = w00t22
- Reaction score
- 43
Srry For Double Post
Ok this is my code for like level 2 and 4 in polar escape 3, you can change your angle
To keep you going striaght is
copy each of the actions and paste in same trigger just change unit group to player 2 or something that easy
thanks so much raging!
Ok this is my code for like level 2 and 4 in polar escape 3, you can change your angle
Code:
Events
Time - Every 0.04 seconds of game time
No conditions
Actions
Set UnitGroup = (Units owned by Player 1 (Red))
Unit Group - Pick every unit in UnitGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Black Bricks
Then - Actions
Do nothing
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
Then - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 12.00 towards (Facing of (Picked unit)) degrees)
Else - Actions
Do nothing
Custom script: call DestroyGroup(udg_UnitGroup)
To keep you going striaght is
Code:
Events
Time - Every 0.04 seconds of game time
No conditions
Actions
Set UnitGroup = (Units owned by Player 1 (Red))
Unit Group - Pick every unit in UnitGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Black Bricks
Then - Actions
Do nothing
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at (Position of (Picked unit))) Equal to Icecrown Glacier - Dark Ice
Then - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 12.00 towards (Facing of (Picked unit)) degrees)
Else - Actions
Do nothing
Custom script: call DestroyGroup(udg_UnitGroup)
copy each of the actions and paste in same trigger just change unit group to player 2 or something that easy
thanks so much raging!