01C4

From GTAMods Wiki
Revision as of 16:36, 6 December 2015 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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