UpdateNavHelp
Tracking Issue: #420
Tags: events
This event allows mods to modify the nav help menu at the bottom of the squad select screen - the menu that normally includes buttons like "MAKE WEAPONS AVAILABLE". Note that robojumper's Squad Select mod also triggers this event with the same parameters, so it should be automatically compatible.
UISquadSelect_NavHelpUpdate event
Param | Value |
---|---|
EventID | UISquadSelect_NavHelpUpdate |
EventData | UINavigationHelp |
EventSource | UISquadSelect |
NewGameState | none |
Listener template
static function EventListenerReturn OnUISquadSelect_NavHelpUpdate(Object EventData, Object EventSource, XComGameState GameState, Name EventID, Object CallbackObject)
{
local UISquadSelect SquadSelect;
local UINavigationHelp NavHelp;
SquadSelect = UISquadSelect(EventSource);
NavHelp = UINavigationHelp(EventData);
// Your code here
return ELR_NoInterrupt;
}