Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function setSFXoccupy(setSFXoccupy_argument)
- local terrainType = setSFXocupy_argument
- if terrainType == 2 then
- Move(base, y_axis, -0.85, 50)
- SetUnitValue(COB.UPRIGHT, 1)
- else
- Move(base, y_axis, 0, 50)
- SetUnitValue(COB.UPRIGHT, 0)
- end
- if terrainType == 4 then
- Move(base, y_axis, 0, 50)
- SetUnitValue(COB.UPRIGHT, 0)
- else
- Move(base, y_axis, -0.85, 50)
- SetUnitValue(COB.UPRIGHT, 1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment