![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| bool | IsValidRole (IEntity character, int playerID, SCR_AIGroup group, inout int roleCallsignIndex, out bool isUnique) |
| string | GetRoleName () |
| int | GetRoleIndex () |
Protected Attributes | |
| bool | m_bEnabled |
| LocalizedString | m_sRoleName |
| SCR_ERoleAvailableForCharacterType | m_eRoleAvailableForCharacterType |
| bool | m_bIsUnique |
Definition at line 2 of file SCR_BaseRoleCallsign.c.
|
inlineprotected |
|
inlineprotected |
Get Role name
Definition at line 81 of file SCR_BaseRoleCallsign.c.
|
inlineprotected |
Checks if AI can be assigned a role (or a specific role if roleCallsignIndex is given a value)
| character | IEntity of character to assign callsign (Can be player or AI) | |
| playerID | If character is a player then player ID can be used to check if valid | |
| group | SCR_AIGroup group of which character is a part of | |
| occupiedRoles | roles already occupied by AI for the group the character is part of | |
| occupiedRoles | roles already occupied by Player for the group the character is part of | |
| [out] | roleCallsignIndex | the return index of the found character role. Can be given a value to look for a specific role to assign |
| [out] | isUnique | If true than only one character can have the role in the group (as well as any attached master and slave groups) |
Definition at line 28 of file SCR_BaseRoleCallsign.c.
|
protected |
Definition at line 5 of file SCR_BaseRoleCallsign.c.
|
protected |
Definition at line 14 of file SCR_BaseRoleCallsign.c.
|
protected |
Definition at line 11 of file SCR_BaseRoleCallsign.c.
|
protected |
Definition at line 8 of file SCR_BaseRoleCallsign.c.