Difference between revisions of "IsNPC"
From UODemo Wiki
(Created page with 'integer '''isNPC'''(object AnyObject); This function will return 1 if the given object is valid and is a NPC, this includes guards and shopkeepers. Otherwise 0 is returned. ...') |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | integer '''isNPC'''(object | + | integer '''isNPC'''(object ''AnyObject''); |
This function will return 1 if the given object is valid and is a NPC, this includes guards and shopkeepers. Otherwise 0 is returned. | This function will return 1 if the given object is valid and is a NPC, this includes guards and shopkeepers. Otherwise 0 is returned. |
Latest revision as of 11:42, 25 January 2010
integer isNPC(object AnyObject);
This function will return 1 if the given object is valid and is a NPC, this includes guards and shopkeepers. Otherwise 0 is returned.
Return to the Command List.