- 
    
        
            
            
                EventCommandModifyTeam.instanciateTeam
            
            (where, type, id, stockID)
            
            static
            
            
        
 
- 
    
    
    
        Instanciate a new character in a group
     
    
	
		
		| Name | Type | Description |  
            
                | where | GroupKind | In which group we should instanciate |  
            
                | type | CharacterKind | The type of character to instanciate |  
            
                | id | number | The ID of the character to instanciate |  
            
                | stockID | number | The ID of the variable where we will stock the
  instantiate ID |  
 
    
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
- 
    
        
            
            
                addRemove
            
            (kind, id, where)
            
            
            
            
        
 
- 
    
    
    
        Add or remove a character in a group
     
    
	
		
		| Name | Type | Description |  
            
                | kind | CharacterKind | The type of character to instanciate |  
            
                | id | number | The ID of the character to instanciate |  
            
                | where | GroupKind | In which group we should instanciate |  
 
    
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
- 
    
        
            
            
                update
            
            (currentState, object, state)number
            
            
            
            
                overrides
            
        
 
- 
    
    
    
        Update and check if the event is finished
     
    
	
		
		| Name | Type | Description |  
            
                | currentState | Object | The current state of the event |  
            
                | object | MapObject | The current object reacting |  
            
                | state | number | The state ID |  
 
    
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 Returns:
    
    
        
        | Type | Description |  
            
            | number | The number of node to pass |  
 
- 
    
    
- 
    
    
    
        Initialize the current state
     
    
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 Returns:
    
    
        
        | Type | Description |  
            
            | Object | The current state |  
 
- 
    
    
- 
    
    
    
        First key press handle for the current stack
     
    
	
		
		| Name | Type | Description |  
            
                | currentState | Object | The current state of the event |  
            
                | key | number | The key ID pressed |  
 
    
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
- 
    
    
- 
    
    
    
        First key release handle for the current stack
     
    
	
		
		| Name | Type | Description |  
            
                | currentState | Object | The current state of the event |  
            
                | key | number | The key ID pressed |  
 
    
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
- 
    
    
- 
    
    
    
        Key pressed repeat handle for the current stack
     
    
	
		
		| Name | Type | Description |  
            
                | currentState | Object | The current state of the event |  
            
                | key | number | The key ID pressed |  
 
    
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 Returns:
- 
    
    
- 
    
    
    
        Key pressed repeat handle for the current stack, but with
  a small wait after the first pressure (generally used for menus)
     
    
	
		
		| Name | Type | Description |  
            
                | currentState | Object | The current state of the event |  
            
                | key | number | The key ID pressed |  
 
    
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
- 
    
    
- 
    
    
    
        Draw the HUD
     
    
	
		
		| Name | Type | Description |  
            
                | currentState | Object | The current state of the event |