Difference between revisions of "SetGameSetting"
Jump to navigation
Jump to search
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]] |
Latest revision as of 23:22, 23 April 2016
Description[edit | edit source]
SetGameSetting Sets a game setting. Can only be used in the in-game console.
Syntax[edit | edit source]
SetGameSetting GameSettingName Number\String SetGS GameSettingName Number\String
Examples[edit | edit source]
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[edit | edit source]
- This is a console-only function. To use it in a script, you'd have to use con_SetGameSetting instead.