0179

From GTAMods Wiki
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