Difference between revisions of "HAS OBJECT COLLIDED WITH ANYTHING"

From GTAMods Wiki
Jump to navigation Jump to search
(Added page)
 
m (Set r to 1)
 
Line 3: Line 3:
 
|p1t=pointer
 
|p1t=pointer
 
|p1d=Object handle
 
|p1d=Object handle
 +
|r=1
 
|rt=bool
 
|rt=bool
 
|rd=Whether the object has collided with anything or not
 
|rd=Whether the object has collided with anything or not

Latest revision as of 15:25, 18 June 2011

HAS_OBJECT_COLLIDED_WITH_ANYTHING
Number of parameters: 1
Parameter #TypeDescription
1.pointerObject handle
Return value:
TypeDescription
boolWhether the object has collided with anything or not

Gets whether the object has collided with anything. To use this function, the object must be recording collisions. Use SET_OBJECT_RECORDS_COLLISIONS to enable collision recording for an object.