team.set_respawn_vehicle

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 allows you to set the respawn vehicle type for players on a given team: when one of those players respawns, the game engine will automatically create a vehicle of this type and then force the player into one of its seats, preferring the driver's seat if accessible (and if compatible with the player's biped). In essence, this automates the task of using player.biped.place_at_me and player.force_into_vehicle in tandem.

Arguments

vehicle type

The vehicle type that players on this team should respawn in.

Example

for each team do
   current_team.set_respawn_vehicle(warthog)
end

Notes

See also