01C2

From GTAMods Wiki
Revision as of 22:58, 20 December 2011 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

GTA III Vice City San Andreas


Description

Marks the character as no longer needed

Syntax

01C2: remove_references_to_actor [char handle]

Parameter

[char handle]
The handle of the character

Native analog

MARK_CHAR_AS_NO_LONGER_NEEDED

This opcode marks the character as no longer needed and turns it into a random ped. If the character is spawned (009A, etc.) or grabbed from the streets (02DD, etc.), the character will remain saved in the game if this opcode isn't used on that character. When the character is marked no longer needed, the character will walk off like a regular pedestrian and will disappear off-screen, but the script will continue to recognize the character until the character disappears.

Keywords

remove, reference, references, actor, character

See also