Background for Skyrim SE
Member of the Game script
intfunctionCalculateFavorCost(intaiFavorPrice)NativeGlobal

Description

Wiki Description

Calculates how many favor points the player would have to spend to pay for a favor with the specified price.

Documentation Comment

Calculates how much a x point favor would cost the player


Caveats


Parameters

intaiFavorPrice

CK Wiki Description

The raw price of the favor.


Examples

; Figure out how many points it would cost to buy a favor worth 10 points
int icost = Game.CalculateFavorCost(10)

Auto-Generated Example

int myInt__aiFavorPrice

int returnedValue = Game.CalculateFavorCost(myInt__aiFavorPrice)

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.