GetIsUsedItemType

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Checks if an item that matches a Form Type is currently being used or activated, returning 1 if it does. The full name of the Form Type must be passed, NOT its numeric ID.

Syntax

[help]
(0/1:bool) void.GetIsUsedItemType FormType:string

Example

GetIsUsedItemType Activator

Returns 1 if an activator is being used.

See Also