GetIsObjectValid(object)
Determines whether an object is valid.
int GetIsObjectValid( object oObject );
Parameters
oObject
The object to check the validity of.
Description
Returns TRUE if oObject is a valid object, otherwise FALSE.
Remarks
This function is a widely used utility function to check the return values for functions that return objects. While looping through objects NWN functions usually return invalid objects to signify that there are no more objects left. This function can be used to test that condition.
Version
1.22
See Also
categories: | Action on Object Functions |
author: Tom Cassiotis
Send comments on this topic.