Difference between revisions of "GetIsID"
created page
imported>Wkilleen |
imported>Illyism (created page) |
||
Line 1: | Line 1: | ||
==='''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 | |||
message "Power Armor equipped" | |||
endif | |||
end | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Actor State Functions]] | [[Category:Actor State Functions]] | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] |