Skip to content

TeamInfo

Class in Engine · Engine.TeamInfo · native

Object › Actor › Info › ReplicationInfo › TeamInfo

Using it from Lua
h7.find_all("TeamInfo")            -- live instances
h7.find_class("Engine.TeamInfo")   -- the class
h7.hook("Engine.TeamInfo.AddToTeam", fn)

Properties

NameTypeNotes
Scorefloat
Sizeint
TeamColorcolor
TeamIndexintrepnotify
TeamNamestringlocalized

Functions

NameDeclaration
AddToTeamfunction bool AddToTeam(Controller Other)
Destroyedsimulated event Destroyed()
GetHumanReadableNamesimulated function string GetHumanReadableName()
GetTeamNumnative simulated function byte GetTeamNum()
RemoveFromTeamfunction RemoveFromTeam(Controller Other)
ReplicatedEventsimulated event ReplicatedEvent(name VarName)

Default values

TickGroup=TG_DuringAsyncWork
TeamIndex=-1
NetUpdateFrequency=2
TeamColor=(r=255,g=64,b=64,a=255)

Inherited

FromMembers
ReplicationInfo0 properties, 0 functions
Info0 properties, 0 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions