Difference between revisions of "IsNPC"
From UODemo Wiki
m (Protected "IsNPC" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
m |
||
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.