GetCovertActionEvents_Settings
Tracking Issue: #391
Allows configuring the behavior of covert actions in the event queue.
AddAll allows multiple covert actions, InsertSorted inserts them into position
based on time remaining.
Default: Only one covert action is added at the end.
GetCovertActionEvents_Settings event
| Param | Value |
|---|---|
| EventID | GetCovertActionEvents_Settings |
| EventData | XComLWTuple |
| EventSource | XComGameState_HeadquartersXCom |
| NewGameState | none |
Tuple contents
| Index | Name | Type | Direction |
|---|---|---|---|
| 0 | AddAll | bool | out |
| 1 | InsertSorted | bool | out |
Listener template
static function EventListenerReturn OnGetCovertActionEvents_Settings(Object EventData, Object EventSource, XComGameState GameState, Name EventID, Object CallbackObject)
{
local XComGameState_HeadquartersXCom XComHQ;
local XComLWTuple Tuple;
local bool AddAll;
local bool InsertSorted;
XComHQ = XComGameState_HeadquartersXCom(EventSource);
Tuple = XComLWTuple(EventData);
// Your code here
Tuple.Data[0].b = AddAll;
Tuple.Data[1].b = InsertSorted;
return ELR_NoInterrupt;
}