|
TorqueScript Reference
|
Functions | |
| Boolean | isObject (handle) |
| Integer | nameToID (string objectName) |
| Boolean isObject | ( | handle | ) |
check if the name or ID specified is a valid object.
| handle | A name or ID of a possible object. |
| Integer nameToID | ( | string | objectName | ) |
Use the nameToID function to convert an object name into an object ID.
Helper function for those odd cases where a string will not covert properly, but generally this can be replaced with a statement like: ("someName")
| objectName | A string containing the name of an object. |
1.8.10