object.team

Type: Team

The object's owner team.

Example

for each team do
   for each object with label "ctf_res_zone" do
      if current_object.team == current_team then
         --
         -- do something
         --
      end
   end
end

See also