Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
AIGroupMovementComponent.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
15
16class AIGroupMovementComponent: AIBaseMovementComponent
17{
18 const int DEFAULT_HANDLER_ID = 0;
19
20 proto external void SetGroupCharactersWantedMovementType(EMovementType movementWanted);
28 proto external int GetAgentMoveHandlerId(notnull AIAgent agent);
29 //Creates empty group move handler and returns it's identification
30 proto external int CreateGroupMoveHandler(string formationType);
31 //Returns how many agents there's in a handler and -1 if the handler doesn't exists.
32 proto external int GetMoveHandlerAgentCount(int handlerId = 0);
33 //Moves individual agent from one handler to another
34 proto external void MoveAgentToHandler(notnull AIAgent agent, int originalHandlerId, int newHandlerId);
35 //Moves individual agent from one handler to another and makes it the leader of the formation
36 proto external void SetMoveHandlerLeader(notnull AIAgent agent, int originalHandlerId, int newHandlerId);
37 //Removes the indicated group move handler. All it's agents go back to the default handler.
38 proto external void RemoveGroupMoveHandler(int handlerId);
39 //Removes all existing handlers. All agents go back to the default handler.
40 proto external void ClearGroupMoveHandlers();
41 //Formations getters and setters
42 proto external bool SetFormationDefinition(int handlerId, string formation);
43 proto external AIFormationDefinition GetFormationDefinition(int handlerId);
50 proto external void SetFormationDisplacement(int iValue, int handlerId = 0);
51 proto external int GetFormationDisplacement(int handlerId = 0);
52 proto AIAgent GetHandlerLeaderAgent(int handlerId = 0);
53 proto int GetAgentsInHandler(notnull out array<AIAgent> outAgents, int handlerId = 0);
54 proto external bool IsFormationDisplaced(int handlerId = 0);
55
56 // callbacks
57
58 event void OnMoveHandlerAdded(int handlerId);
59 event void OnMoveHandlerRemoved(int handlerId);
60}
61
proto external void ClearGroupMoveHandlers()
proto external void MoveAgentToHandler(notnull AIAgent agent, int originalHandlerId, int newHandlerId)
proto external bool SetFormationDefinition(int handlerId, string formation)
proto int GetAgentsInHandler(notnull out array< AIAgent > outAgents, int handlerId=0)
proto external void SetMoveHandlerLeader(notnull AIAgent agent, int originalHandlerId, int newHandlerId)
proto external int GetFormationDisplacement(int handlerId=0)
proto external int CreateGroupMoveHandler(string formationType)
AIGroupMovementComponentClass DEFAULT_HANDLER_ID
event void OnMoveHandlerRemoved(int handlerId)
proto external void SetFormationDisplacement(int iValue, int handlerId=0)
proto AIAgent GetHandlerLeaderAgent(int handlerId=0)
proto external AIFormationDefinition GetFormationDefinition(int handlerId)
proto external int GetMoveHandlerAgentCount(int handlerId=0)
proto external int GetAgentMoveHandlerId(notnull AIAgent agent)
proto external EMovementType GetGroupCharactersMovementTypeWanted()
proto external void SetGroupCharactersWantedMovementType(EMovementType movementWanted)
proto external bool IsFormationDisplaced(int handlerId=0)
event void OnMoveHandlerAdded(int handlerId)
proto external void RemoveGroupMoveHandler(int handlerId)
EMovementType