Difference between revisions of "HasVampireFed"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>DragoonWraith
(CS 1.0)
Line 12: Line 12:


[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category: Player Functions]]
[[Category: Player Functions]]
[[Category: Player Functions (CS 1.0)]]

Revision as of 20:00, 5 July 2007

Returns 1 if the actor it is called on has a vampire fed flag and it is set to true (this happens in the code when a vampire feed package finishes).


NOTE: this only works for the player, who is the only one with a vampire fed flag. All other actors will return 0.


HasVampireFed also clears the flag, so if you call it twice in a row it should return 1 the first time and 0 the second.


See Also

VampireFeed