object.set_spawn_location_fireteams

a.k.a. object.set_fireteam_respawn_filter

This function allows you to limit a spawn location to a specific fireteam. This applies to players that have been set to use co-op spawning .

Arguments

The word none, the word all, or a comma-separated list of fireteam indices (starting at 0) that should be able to use this object as a spawn location.

Example

for each object with label "fireteam_1_spawn" do
   current_object.set_spawn_location_fireteams(0)
   current_object.set_spawn_location_permissions(allies)
end

See also