GetIsID

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns 1 if the calling reference is a reference to the specified EditorID of a Base Object.

Syntax

[help]
(0, 1:bool) GetIsID ObjectID:base

Example

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