ForbodingAngel

Untitled

May 1st, 2014
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function setSFXoccupy(setSFXoccupy_argument)
  2. local terrainType = setSFXocupy_argument
  3. if terrainType == 2 then
  4. Move(base, y_axis, -0.85, 50)
  5. SetUnitValue(COB.UPRIGHT, 1)
  6. else
  7. Move(base, y_axis, 0, 50)
  8. SetUnitValue(COB.UPRIGHT, 0)
  9. end
  10.  
  11. if terrainType == 4 then
  12. Move(base, y_axis, 0, 50)
  13. SetUnitValue(COB.UPRIGHT, 0)
  14. else
  15. Move(base, y_axis, -0.85, 50)
  16. SetUnitValue(COB.UPRIGHT, 1)
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment