StartVampireFeed - Actor
Revision as of 14:07, 14 November 2024 by KaminaDrill (talk | contribs)
Member of: Actor Script
Has the actor vampire feed on a sleeping actor
Syntax
Function StartVampireFeed(Actor akTarget) native
Parameters
- akTarget: Who is going to be feed on.
Return Value
None.
Examples
; Have player feed on on Fred
Game.GetPlayer().StartVampireFeed(Fred);
Notes
- This function starts playing actual feeding animation on target, and chooses correct front or back variant
- Player seems to be put in AI driven state, which ends after the animation (probably on special "VampireFeedEnd" animation event)
- Corresponding event OnVampireFeed is fired immediately (or very quickly after)
- Event is fired regardless whether actual animation is successfully playing. To check if animation did start, in this case it is possible to use GetPlayerControls_-_Actor, but idk how reliable