Background for Skyrim SE
Member of the ANDR_PapyrusFunctions script
voidfunctionCastIngredient(ActorakSource, IngredientakIngedient, ActorakTarget)NativeGlobal

Description

Wiki Description

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

Documentation String

  • akSource: The Actor from which to cast the Ingredient.
  • akIngedient: Ingredient to cast.
  • akTarget: Actor at which to aim the Ingredient.

Caveats

CK Wiki - Notes

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

Parameters

ActorakSource

CK Wiki Description

The Actor from which to "cast" the ingredient.

IngredientakIngedient

CK Wiki Description

The Ingredient to apply.

ActorakTarget

CK Wiki Description

The Actor at which to apply the ingredient's effects.


Examples

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

Auto-Generated Example

Actor myActor__akSource
Ingredient myIngredient__akIngedient
Actor myActor__akTarget

ANDR_PapyrusFunctions.CastIngredient(myActor__akSource, myIngredient__akIngedient, myActor__akTarget)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.