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
| Name | Type | Notes |
Score | float | |
Size | int | |
TeamColor | color | |
TeamIndex | int | repnotify |
TeamName | string | localized |
Functions
| Name | Declaration |
AddToTeam | function bool AddToTeam(Controller Other) |
Destroyed | simulated event Destroyed() |
GetHumanReadableName | simulated function string GetHumanReadableName() |
GetTeamNum | native simulated function byte GetTeamNum() |
RemoveFromTeam | function RemoveFromTeam(Controller Other) |
ReplicatedEvent | simulated event ReplicatedEvent(name VarName) |
Default values
TickGroup=TG_DuringAsyncWork
TeamIndex=-1
NetUpdateFrequency=2
TeamColor=(r=255,g=64,b=64,a=255)
Inherited
| From | Members |
| ReplicationInfo | 0 properties, 0 functions |
| Info | 0 properties, 0 functions |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |