01C2
Revision as of 22:58, 20 December 2011 by Spaceeinstein (talk | contribs)
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
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