StartVampireFeed - Actor

From the CreationKit Wiki
Revision as of 14:31, 14 November 2024 by Crazq (talk | contribs) (Languages Bar Added)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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  • українська