HasTeam¶
Realm: SHARED (supported usage).
actor:HasTeam(value)
Accepts a team name/list/entity/actor. Gang membership has special rules; do not infer alliance solely from the bandits tag.
Source: lua/background_npcs_core/actor/components/sh_team.lua.