GetIsID

From GECK
Jump to: navigation, search

A function included in the GECK version 1.1.0.36.

Description

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.

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