064F

From GTAMods Wiki
Revision as of 17:46, 25 October 2010 by Bnb (talk | contribs)
Jump to navigation Jump to search

{{{games}}}


Description
Releases a particle from memory and makes it visible.
Syntax
{{{syntax1}}}
Parameter

This opcode releases a particle from memory and makes it visible.

Sanny Builder example

064F: remove_references_to_particle 167@


Cleo Example

That example creates an particle at player's location by pressing Z.

{$CLEO .cs}

0000: NOP

:NONAME_01
0001: wait  0 ms
if and
0256: player $PLAYER_CHAR defined
0AB0:   key_pressed 90 // Z or z
004D: jump_if_false @NONAME_01
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR offset 0.0 5.0  1.0 //store player coords 
064B: 0@ = create_particle "flame" at 1@ 2@ 3@ type 4 //create the particle 
064F: make_temp_particle_visible_and_remove_references 0@ //make the particle visible and remove references 
0001: wait  500 ms
0002: jump @NONAME_01

Keywords

particle, visible, free memory

See also