Difference between revisions of "SetGameSetting"

619 bytes added ,  00:22, 24 April 2016
no edit summary
imported>Bnesmith
 
imported>ZuTheSkunk
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=='''Description'''==


'''SetGameSetting''' Sets a game setting. Can only be used in the in-game console.
=='''Syntax'''==
SetGameSetting ''GameSettingName'' Number\String
SetGS ''GameSettingName'' Number\String
=='''Examples'''==
SetGameSetting fActionPointsRestoreRate 6
SetGS fActionPointsRestoreRate 6
Sets the action point restore rate to 6.
SetGameSetting sKarmicTitleEvil01 "Little Devil"
SetGS sKarmicTitleEvil01 "Little Devil"
Sets the level 1 karma title to "Little Devil".
=='''Notes'''==
* This is a console-only function. To use it in a script, you'd have to use [[con_SetGameSetting]] instead.


[[Category:Console Functions]]
[[Category:Console Functions]]
Anonymous user