GetIsID
Revision as of 12:46, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Syntax:
GetIsID ObjectID
Returns 1 if the calling object is a reference to ObjectID. The parameter for this function is a base object ID, as defined in the object window.
Example:
Begin Onequip Player ; One script for a whole set of armor if GetIsID myPowerArmor == 1 unequip myPowerArmor endif end