object.set_hidden

This function was added to the Halo: The Master Chief Collection build of Halo: Reach in mid-July 2023, being backported from Halo 4's Megalo engine. Gametypes that use this function will likely fail to load on Xbox 360 builds of Halo: Reach (even when played via Xbox One backward compatibility).

This function makes objects invisible.

As of this writing (July 16, 2023), this function only works on host, and has the following side effects:

This function returns number. Calling this function without storing its return value in a variable is an error.

Arguments

should_hide

Indicates whether the object should be hidden (true) or visible (false).

Example

for each object with label "hide" do
   current_object.set_hidden(true)
end

Notes