ForbodingAngel

Untitled

May 1st, 2014
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. setSFXoccupy(setSFXoccupy_argument)
  2. {
  3. terraintype = setSFXoccupy_argument;
  4.  
  5. if(terraintype == 2)
  6. {
  7. move base to y-axis [-0.85] speed [50];
  8. set UPRIGHT to 1;
  9. }
  10. else
  11. {
  12. move base to y-axis [0.0] speed [50];
  13. set UPRIGHT to 0;
  14. }
  15. if(terraintype == 4)
  16. {
  17. move base to y-axis [0] speed [50];
  18. set UPRIGHT to 0;
  19. }
  20. else
  21. {
  22. move base to y-axis [-0.85] speed [50];
  23. set UPRIGHT to 1;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment