Difference between revisions of "StartVampireFeed - Actor"
Jump to navigation
Jump to search
KaminaDrill (talk | contribs) |
m (Languages Bar Added) |
||
(One intermediate revision by the same user not shown) | |||
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]] | ||
{{Languages|StartVampireFeed - Actor}} |
Latest revision as of 14:31, 14 November 2024
Member of: Actor Script
Has the actor vampire feed on a sleeping actor
Syntax[edit | edit source]
Function StartVampireFeed(Actor akTarget) native
Parameters[edit | edit source]
- akTarget: Who is going to be feed on.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Have player feed on on Fred
Game.GetPlayer().StartVampireFeed(Fred);
Notes[edit | edit source]
- 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 Also[edit | edit source]
Language: | English • українська |
---|