RewardKarma

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Awards/removes Karma Points to/from the player. It is not called on a reference and the parameter is an integer which represents the amount of Karma to add to the player. If set to a negative value, will remove Karma. The function accounts for iKarmaMax and iKarmaMin game settings, meaning that the resulting Karma will not go over or under their values.

Syntax

[help]
RewardKarma value:int

Example

RewardKarma 100

100 Karma is added to the player (Good Karma).

RewardKarma -75

75 Karma is removed from the player (Bad Karma).

Notes

  • A corner message is shown in game indicating the change when using this function.