01C4

From GTAMods Wiki
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...")
(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: remove_references_to_object [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, 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

See also

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