- Marks the character as no longer needed
- 01C2: mark_actor_as_no_longer_needed [char handle]
- [char handle]
- The handle of the character
This opcode marks the character as no longer needed by the script and turns it into a random ped. When a character is spawned (009A, etc.) or grabbed from the world (02DD, etc.), the character will remain in the game without despawning until this opcode is called or the game is reloaded. If spawned during a mission, calling the mission cleanup routine automatically marks any characters spawned during the mission as no longer needed. When the character is marked no longer needed, the character will walk off like a regular pedestrian and will disappear off-screen. However, as long as the character remains on-screen, the script can continue to recognize the character until it disappears. Alternative documentation names this opcode as "remove references to actor".
mark, remove, reference, references, actor, character, no, longer, needed