StartVampireFeed - Actor
Member of: Actor Script
Has the actor vampire feed on a sleeping actor
SyntaxEdit
Function StartVampireFeed(Actor akTarget) native
ParametersEdit
- akTarget: Who is going to be feed on.
Return ValueEdit
None.
ExamplesEdit
; Have player feed on on Fred
Game.GetPlayer().StartVampireFeed(Fred);
NotesEdit
- 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
See AlsoEdit
Language: | English • українська |
---|