Background for Skyrim SE
Member of the ANDR_PapyrusFunctions script
floatfunctionGetEffectiveScrollCost(ActorakSource, ScrollakScroll)NativeGlobal

Description

Wiki Description

Returns the effective effects cost of the given scroll for the given caster.

Documentation String

  • Return value: the total effective cost of all the scroll's effects.
  • akSource: the user of the scroll.
  • akScroll: the scroll.

Caveats

CK Wiki - Notes

  • The returned cost adds up all the cost of each seperate effect, unless the "Auto-Calculate" flag is unchecked on the scroll.
  • This cost is often used for the gold value of the scroll.

Parameters

ActorakSource

CK Wiki Description

The Actor to calculate the cost for.

ScrollakScroll

CK Wiki Description

The Scroll to calculate the cost for.


Examples

Debug.Trace(Scroll of Firebolt + " costs " + ANDR_PapyrusFunctions.GetEffectiveIngredientCost(Game.GetPlayer(), FireboltScroll) + " for the player.")

Auto-Generated Example

Actor myActor__akSource
Scroll myScroll__akScroll

float returnedValue = ANDR_PapyrusFunctions.GetEffectiveScrollCost(myActor__akSource, myScroll__akScroll)

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.