GetIsUsedItem

From the Oblivion ConstructionSet Wiki
Revision as of 11:12, 8 February 2006 by 10.0.1.94 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

 GetIsUsedItem ObjectID 

Example:

 GetIsUsedItem Apple01 

Returns true if the actor is currently using the specified item. This is ONLY useful in condition functions, because the UsedItem variable is always cleared by the time scripts run, but anything called by AI (picking an Idle, saying a voice, etc) while the variable is set will be able to check it in conditions.