01C4
Jump to navigation
Jump to search
MARK_
Description
- Marks the object as no longer needed
Syntax
- 01C4: mark_object_as_no_longer_needed [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, calling the mission cleanup routine 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, as long as the object remains on-screen, the script can continue to recognize the object until the object disappears. Alternative documentation names this opcode as "remove references to object".
Keywords
mark, remove, cleanup, reference, references, object, no, longer, needed