NDOIH
Object Functions & Examples
HasAccessLevel() Paramsaccesslevel - access level requirement bool - true if users satisfy's requirement |
Does the attached user's access level satisfy the access requirement. |
Example
CODE EXAMPLE BLOCK
HasEventHandler() Paramseventtype - even type name Returns true if exists |
Is there an event handler registered on any module attached to this object that matches the parameters. |
Example
CODE EXAMPLE BLOCK
HasLineOfSightToLoc() Paramslocation - location to check number - (number) Optional: Height of line. Ignore all collision that is lower than this height (Default 0.0f) Returns bool - True if it has LOS, false if not. |
Does this object have line of sight to the specified location. |
Example
CODE EXAMPLE BLOCK
HasLineOfSightToObj() Paramsgameobject - target game object number - Optional: Height of line. Ignore all collision that is lower than this height (Default 0.0f) Returns bool - True if it has LOS, false if not. |
Does this object have line of sight to the specified object (This should be used for objects so the collision for the targetted object can be ignored for the LOS check). |
Example
CODE EXAMPLE BLOCK
HasObjVar() Paramsname - name of given object variable Returns bool - true if exists, false if not |
Check to see if a given object variable exists in the current object. Use this to check beforehand so that you aren't getting an error getting object variables that don't exist. |
Example
CODE EXAMPLE BLOCK
HasObjectTag() Returnsbool - true if exists, false if not |
Checks if this object has a specific tag based on it's client type. |
Example
CODE EXAMPLE BLOCK
HasModule() Paramsname - module name to check for Returns bool - true if exists, false if not |
Determines if the current object has a script module from the given name. |
Example
CODE EXAMPLE BLOCK
HasSharedObjectProperty() Paramsname - Name of the SharedObjectProperties to check Returns bool - Does it have this property? True if yes, False if no |
Does the object have the SharedObjectProperties specified. |
Example
CODE EXAMPLE BLOCK
HasTimer() Paramsname - name of the timer identifier Returns bool - true if exists |
Is there a timer scheduled in the future with this identifier. |
Example
CODE EXAMPLE BLOCK