Advertisement
jayd00

example by jayd00

Apr 12th, 2011
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. // example by jayd00
  2.  
  3. {$CLEO .cs}
  4. 03A4: name_thread 'RASENGAN'
  5.  
  6. while true
  7. wait 0
  8. if
  9. Player.Defined($PLAYER_CHAR)
  10. then
  11. if
  12. 0ADC: test_cheat "RASENGAN"
  13. then
  14. 0ACA: show_text_box "on"
  15. 04ED: load_animation "BSKTBALL"
  16. 0247: load_model 3106 /// 8 ball - pool
  17.  
  18. while true
  19. if and
  20. 84EE: not animation "BSKTBALL" loaded
  21. 8248: not model 3106 available
  22. jf break
  23. wait 0
  24. end
  25.  
  26. 04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 421.1
  27. 0107: 5@ = create_object 3106 at 1@ 2@ 3@
  28. 04D9: object 5@ set_scripted_collision_check 0
  29. 0382: set_object 5@ collision_detection 0
  30. 0750: set_object 5@ visibility 1
  31. 070A: AS_actor $PLAYER_ACTOR attach_to_object 5@ offset 0.06 0.04 0 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time -1
  32.  
  33. 0812: AS_actor $PLAYER_ACTOR perform_animation "BBALL_def_loop" IFP_file "BSKTBALL" 4.0 loopA 0 lockX 0 lockY 0 lockF 0 time -1 // versionB
  34. wait 500
  35. 066E: create_particle "nbluesphere" attached_to_object 5@ with_offset 0.0 0.0 0.2 rotation 0.0 0.0 0.0 flag 1 handle_as 17@
  36. 064C: make_particle 17@ visible
  37. wait 2000
  38. 0792: disembark_instantly_actor $PLAYER_ACTOR
  39. ///0687: clear_actor $PLAYER_ACTOR task ///I don't know which one will work fine..
  40.  
  41. repeat
  42. wait 0
  43. until 0AB0: key_pressed 32 // spacebar
  44.  
  45. 0812: AS_actor $PLAYER_ACTOR perform_animation "BBALL_def_loop" IFP_file "BSKTBALL" 1.0 loopA 0 lockX 0 lockY 0 lockF 0 time -1
  46. wait 1000
  47. 0792: disembark_instantly_actor $PLAYER_ACTOR
  48. 0108: destroy_object 5@
  49. 0976: destroy_particle 17@
  50.  
  51. 04EF: release_animation "BSKTBALL"
  52. 0249: release_model 1598
  53. end
  54. end
  55. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement