GetSpellUsageNum

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns the number of times an Ingestible has been used by an actor, while its effects are active. The function works on ingestibles that have a Usage Monitor Effect attached to them, and return value is multiplied by effect magnitude.

Syntax

[help]
(float) Actor.GetSpellUsageNum Ingestible:form

Example

Player.GetSpellUsageNum Psycho // returns the number of times Psycho has been used, multiplied by 30