Link Search Menu Expand Document

Функции глобальных переменных

These functions require an EXACTLY 8 characters long, case sensitive string for the variable name. The variables behave the same as normal Fallout globals, except that they don’t have to be declared beforehand in vault13.gam. Trying to get a variable which hasn’t been set will always return 0. The functions are intended for use when a patch to a mod requires the addition of a new global variable, a case which would otherwise require the player to start a new game.

Функции


get_sfall_global_float

float get_sfall_global_float(string/int varname)

get_sfall_global_int

int get_sfall_global_int(string/int varname)

set_sfall_global

void set_sfall_global(string/int varname, int/float value)