polidoros4433 Posted May 11, 2011 Share Posted May 11, 2011 i made a pipe model and i want to spawn some animated smoke over it.. i know there are some particles and objects but i don't know how exactly can i spawn them with cleo. any help? Link to comment Share on other sites More sharing options...
BnB Posted May 11, 2011 Share Posted May 11, 2011 (edited) Take a look here. {$CLEO .cs}0000: NOPwhile true wait 0 if 0256: player $PLAYER_CHAR defined then if 0AB0: key_pressed 80 then 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 5.0 1.0 //store player coords 064B: [email protected] = create_particle "exhale" at [email protected] [email protected] [email protected] type 4 //create the particle 064F: make_temp_particle_visible_and_remove_references [email protected] //make the particle visible and remove references while 0AB0: key_pressed 80 wait 0 end end endend This code creates smoke in front of CJ. Καλή Τύχη. Edited May 11, 2011 by BnB Link to comment Share on other sites More sharing options...
polidoros4433 Posted May 11, 2011 Author Share Posted May 11, 2011 (edited) thanks!! Edited May 12, 2011 by polidoros4433 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