01C4

From GTAModding
Jump to: navigation, search

GTA III Vice City San Andreas MARK_OBJECT_AS_NO_LONGER_NEEDED


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

MARK_OBJECT_AS_NO_LONGER_NEEDED

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

See also

  • GTA III Vice City San Andreas 01C2, for characters
  • GTA III Vice City San Andreas 01C3, for vehicles