CastIngredient - ANDR PapyrusFunctions

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ANDR_PapyrusFunctions Script

Casts this ingredient's effects from the specified actor, to a target actor.

Syntax[edit | edit source]

Function CastIngredient(Actor akSource, Ingredient akIngedient, Actor akTarget) global native

Examples[edit | edit source]

ANDR_PapyrusFunctions.CastIngredient(PlayerRef, SaltPile, NazeemRef)
; player has applied the effects of a Salt Pile on Nazeem!

Parameters[edit | edit source]

  • akSource: The Actor from which to "cast" the ingredient.
  • akIngedient: The Ingredient to apply.
  • akTarget: The Actor at which to apply the ingredient's effects.

Return Value[edit | edit source]

None.

Notes[edit | edit source]

  • This function follows the same logic as the Cast - Spell function, but for ingredients instead of spells.
  • "akIngedient" seems to be spelled wrong for now.

See Also[edit | edit source]