Difference between revisions of "GetIsID"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Illyism
(created page)
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
   Begin Onequip Player              ; One script for a whole set of armor
   Begin Onequip Player              ; One script for a whole set of armor
     if GetIsID myPowerArmor == 1
     if GetIsID myPowerArmor == 1
       message "Power Armor equipped"
       unequip myPowerArmor
     endif
     endif
   end
   end


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]

Latest revision as of 13:26, 15 August 2009

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