Difference between revisions of "01C2"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|trilogy}} |
− | + | <hr /> | |
− | + | '''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 | + | 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 == |
− | + | *[[01C3]], for vehicles | |
+ | *[[01C4]], for objects | ||
+ | |||
+ | [[Category:OpCodes]] |
Revision as of 22:58, 20 December 2011
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