GetIsID

From the Fallout3 GECK Wiki
Revision as of 13:26, 15 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:[edit | edit source]

 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:[edit | edit source]

 Begin Onequip Player              ; One script for a whole set of armor
   if GetIsID myPowerArmor == 1
      unequip myPowerArmor
   endif
 end