GetEffectiveScrollCost - ANDR PapyrusFunctions: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
No edit summary
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Float Function GetEffectiveScrollCost(Actor akSource, Scroll akScroll) global native
Float Function GetEffectiveScrollCost(Actor akSource, Scroll akScroll) global native
</source>
</syntaxhighlight>
== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Debug.Trace("Scroll of Firebolt costs " + ANDR_PapyrusFunctions.GetEffectiveIngredientCost(Game.GetPlayer(), FireboltScroll) + " for the player.")
Debug.Trace("Scroll of Firebolt costs " + ANDR_PapyrusFunctions.GetEffectiveIngredientCost(Game.GetPlayer(), FireboltScroll) + " for the player.")
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==

Navigation menu