Function BlamScript::Globals::UpdateGlobal(std::string, long)

Function Documentation

GvarUpdateResult BlamScript::Globals::UpdateGlobal(std::string name, long new_value)

Updates the value of a Long global.

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.