- Checks if the player is touching the object
- 0178: player [player handle] touching_object [object handle]
- [player handle]
- The handle of the player
- [object handle]
- The handle of the object
This conditional opcode returns true when the player character touches or collides with the object. If the player is driving a vehicle, the opcode also returns true when the player's vehicle touches or collides with the object. Legacy documentation described this opcode as checking if the player is picking up the object. The original script called this opcode during "S.A.M."
check, player, touch, touching, object, collide