| 
| override bool  | IsValidRole (IEntity character, int playerID, SCR_AIGroup group, inout int roleCallsignIndex, out bool isUnique) | 
|   | Checks if AI can be assigned a role (or a specific role if roleCallsignIndex is given a value)  
  | 
|   | 
| override int  | GetRoleIndex () | 
|   | Get Role index.  
  | 
|   | 
| string  | GetRoleName () | 
|   | Get Role name.  
  | 
|   | 
◆ GetRoleIndex()
      
        
          | override int SCR_PlayerLeaderRoleCallsign.GetRoleIndex  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ IsValidRole()
      
        
          | override bool SCR_PlayerLeaderRoleCallsign.IsValidRole  | 
          ( | 
          IEntity |           character,  | 
        
        
           | 
           | 
          int |           playerID,  | 
        
        
           | 
           | 
          SCR_AIGroup |           group,  | 
        
        
           | 
           | 
          inout int |           roleCallsignIndex,  | 
        
        
           | 
           | 
          out bool |           isUnique ) | 
        
      
 
Checks if AI can be assigned a role (or a specific role if roleCallsignIndex is given a value) 
- Parameters
 - 
  
     | 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)  | 
  
   
- Returns
 - bool true if callsign found, else it returns false 
 
Implements SCR_BaseRoleCallsign.
 
 
The documentation for this interface was generated from the following file:
- Game/Callsign/RoleCallsigns/SCR_PlayerLeaderRoleCallsign.c