Gouveia Posted January 20, 2009 Share Posted January 20, 2009 Is there any way I can check either if the object collided with an actor, a car or a map object (in resume, with anything)? Link to comment Share on other sites More sharing options...
ZAZ Posted January 20, 2009 Share Posted January 20, 2009 (edited) Is there any way I can check either if the object collided with an actor, a car or a map object (in resume, with anything)? Yes it is, but this works only with some object like bball or wreckball Studie my Cleo scripts "Throw Wreking-Ball" or "Missile" http://zazmahall.de/CLEOp3.htm#WreckBalling give the bbball the behavior 04D9: object [email protected] set_scripted_collision_check 10382: set_object [email protected] collision_detection 1 then can throw the object (cant remember if collisions check also work by move_object codes) to find the right parameter for target in throw_object code will be difficult for you. 0392: object [email protected] toggle_in_moving_list 10381: throw_object [email protected] distance [email protected] [email protected] [email protected] then you can check if it collidies if04DA: has_object [email protected] collided it checks everything, cars, peds, buildings Edited January 20, 2009 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Gouveia Posted January 20, 2009 Author Share Posted January 20, 2009 Thanks a lot man. What's the object code for the B-Ball? Link to comment Share on other sites More sharing options...
ZAZ Posted January 21, 2009 Share Posted January 21, 2009 (edited) Thanks a lot man. What's the object code for the B-Ball? 3065, BBALL_col, bballX, 30, 0 0247: request_model 3065 0247: request_model 3786:Missile_020001: wait 0 ms00D6: if 10248: model 3065 available0248: model 3786 available004D: jump_if_false @Missile_0204C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 1.0 -0.5 1.30107: [email protected] = create_object 3065 at [email protected] [email protected] [email protected] Edited January 21, 2009 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now