SetNumericGameSetting

From GECK
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

Sets a numeric Game Setting. Accepts variables as arguments.

Returns 1 for a successful change, and 0 on a failed one. For example, it may fail if the GameSetting could not be found.

Syntax

[help]
(int) SetNumericGameSetting settingName:string float:float 

Notes

  • The compiler will not catch typing errors for the settingName string, so take care to type accurately.
  • A game setting changed by this function is not save baked but rather is session based.

See Also