Difference between revisions of "HasVampireFed"
Jump to navigation
Jump to search
imported>Fella |
imported>Vswe m (Added Search Terms) |
||
Line 16: | Line 16: | ||
[[Category: Player Functions]] | [[Category: Player Functions]] | ||
[[Category: Player Functions (CS 1.0)]] | [[Category: Player Functions (CS 1.0)]] | ||
<!-- Begin Search Terms | |||
Has | |||
Vampire | |||
Fed | |||
End Search Terms --> |
Latest revision as of 11:41, 20 June 2008
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[edit | edit source]