Function BlamScript::Globals::UpdateGlobalWrap¶
Defined in File haloscript.h
Function Documentation¶
-
GvarUpdateResult
BlamScript::Globals
::
UpdateGlobalWrap
(std::string name, std::string new_value)¶ Updates a global’s raw value.
Can be used with globals of any type.
- Return
The result of the update attempt. See BlamScript::Globals::GvarUpdateResult for details.
- Parameters
name
: - The ID of the global to update.new_value
: - The new value to apply to the global.