01C4
Revision as of 08:22, 6 December 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|t}} '''MARK_OBJECT_AS_NO_LONGER_NEEDED''' <hr /> '''Description''' : Marks the object as no longer needed '''Syntax''' : 01C4: remove_references_to_object [''object han...")
MARK_OBJECT_AS_NO_LONGER_NEEDED
Description
- Marks the object as no longer needed
Syntax
- 01C4: remove_references_to_object [object handle]
Parameter
- [object handle]
- The handle of the object
Native analog
This opcode marks the object as no longer needed. When an object is spawned (0107, etc.), the object will remain in the game without despawning until this opcode is called. If spawned during a mission, ending the mission triggers a cleanup routine that automatically marks any objects spawned during the mission as no longer needed. When the object is marked no longer needed, it will disappear off-screen; however, the script will still continue to recognize the object until the object disappears entirely.
Keywords
remove, cleanup, reference, references, object