SetFeature

Prototype: GemRB.SetFeature (feature, value)

Description: Set GameType flag FEATURE to VALUE, either True or False.

Parameters:

  • FEATURE - GFFlags::xxx constant defined in GUIDefines.py and globals.h
  • VALUE - value to set the feature to. Either True or False

Return value: N/A

Examples:

GemRB.SetFeature(GFFlags::ALL_STRINGS_TAGGED, True)

See also: SetVar


Back to function index, GUIScript introduction.