entity.is_enemy
Returns true if the entity is on the opposing team.
entity.is_enemy(ent: number): boolean
Arguments
| Name | Description | Type |
|---|---|---|
| ent | Entity index. | number |
Returns boolean
Returns true if the entity is on the opposing team.
entity.is_enemy(ent: number): boolean
| Name | Description | Type |
|---|---|---|
| ent | Entity index. | number |
Returns boolean