Difference between revisions of "StartVampireFeed - Actor"
Jump to navigation
Jump to search
KaminaDrill (talk | contribs) |
m (Fixed link "GetPlayerControls - Actor") |
||
Line 27: | Line 27: | ||
* Player seems to be put in AI driven state, which ends after the animation (probably on special "VampireFeedEnd" animation event) | * 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) | * 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 [[ | * 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 Also == | == See Also == | ||
*[[Actor Script]] | *[[Actor Script]] |
Revision as of 14:10, 14 November 2024
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