IsObjectTouchReportEnabled

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search


Description:
Tells whether Touch Report is enabled for a particular object.


Parameters:

( objectId )

objectId : The ID of the object whose property is to be checked.


Return Values:
true if property is enabled, false otherwise. Throws error on invalid object ID.


Example

if( IsObjectStreamedIn( objectId) && IsObjectTouchReportEnabled(objectId))
{
ClaimObjectTouch( objectId );
}

Related Functions

The following functions may be helpful as they relate to this function in one way or another.