🦸Heroes

Table to work with hero list.

Count(): integer

Return size of hero list.


Get(index: integer): CHero|nil

Name
Type
Description

index

integer

Index of hero in cheat list.

Return hero by index in cheat list. Not the same as in-game index.


GetAll(): CHero[]

Return all heroes in cheat list.


Contains(hero: CHero): boolean

Name
Type
Description

hero

Hero to check.

Check hero in cheat list.


InRadius(pos: Vector, radius: number, teamNum: Enum.TeamNum, teamType: Enum.TeamType): CHero[]

Name
Type
Description

pos

Position to check.

radius

number

Radius to check.

teamNum

Team number to check.

teamType

Team type to filter by. Relative to teamNum param.

Return all heroes in radius.


GetLocal(): CHero|nil

Return local hero.

Last updated