0179

From GTAMods Wiki
Revision as of 06:12, 8 January 2016 by Spaceeinstein (talk | contribs) (Created page with "{{OpCode | games = {{Icon|3}} {{Icon|SA}} | command = IS_CHAR_TOUCHING_OBJECT | description = Checks if the character is touching the object | syntax1 = 0179: &n...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III San Andreas IS_CHAR_TOUCHING_OBJECT


Description
Checks if the character is touching the object
Syntax
0179:   actor [char handle] touching_object [object handle]
Parameter
[char handle]
The handle of the character
[object handle]
The handle of the object

This conditional opcode returns true when the character touches or collides with the object. If the character is driving a vehicle, the opcode also returns true when the character's vehicle touches or collides with the object. This opcode was never called in the original script of GTA III.

Keywords

check, character, touch, touching, object, collide

See also

  • GTA III 0178, checks if the player is touching the object
  • GTA III 023A, checks if the player is touching the object on foot
  • GTA III San Andreas 023B, checks if the character is touching the object on foot