Difference between revisions of "HasVampireFed"
Jump to navigation
Jump to search
imported>DragoonWraith (CS 1.0) |
imported>Vswe m (Added Search Terms) |
||
(One intermediate revision by one other user not shown) | |||
Line 12: | Line 12: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[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]