Skip to content

Commit

Permalink
Issue #1406 - Add new event trigger after Mission Intro kismet has co…
Browse files Browse the repository at this point in the history
…mpleted
  • Loading branch information
furudee authored and Iridar committed Dec 16, 2024
1 parent a50168f commit 09afff8
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3893,6 +3893,24 @@ Begin:
sleep(0.0);
}

// Start Issue #1406
/// HL-Docs: feature:PostMissionIntroKismet; issue:1406; tags:tactical
/// This event triggers after mission intro kismet has been completed.
/// For example, a mission such as Supply Extraction spawns their objective crates
/// when `'SeqEvent_OnTacticalMissionStartBlocking'` has been triggered,
/// which happens after `'OnBeginTacticalPlay'` event has already been triggered.
/// As such, you don't have a handle for anything the mission kismet causes before your first XCOM turn.
/// This event can be considered a later alternative to `'OnBeginTacticalPlay'` event.
///
/// ```event
/// EventID: PostMissionIntroKismet,
/// EventData: none,
/// EventSource: none,
/// NewGameState: none
/// ```
`XEVENTMGR.TriggerEvent('PostMissionIntroKismet',,,);
// End Issue #1406

// set up start of match special conditions, including squad concealment
ApplyStartOfMatchConditions();

Expand Down Expand Up @@ -4245,6 +4263,11 @@ Begin:
sleep(0.0);
}

// Start Issue #1406
/// HL-Docs: ref:PostMissionIntroKismet
`XEVENTMGR.TriggerEvent('PostMissionIntroKismet',,,);
// End Issue #1406

// kick off the gameplay start kismet, do not wait for it to complete latent actions
WorldInfo.TriggerGlobalEventClass(class'SeqEvent_OnTacticalMissionStartNonBlocking', WorldInfo);

Expand Down

0 comments on commit 09afff8

Please sign in to comment.