X2CommunityCore / X2CommunityHighlander

MIT License
7 stars 3 forks source link

Add hook to XComGameInfo.StartMatch for mods to perform custom setup at the start of a game session #270

Open robojumper opened 7 years ago

robojumper commented 7 years ago

Game session in unreal context -- HeadquartersGame, TacticalGame, ...

Mods can then perform their startup logic: Register observers and such before any game states are added. This should work for everything: game load, new game start, level transition...

bountygiver commented 7 years ago

also probably a pre tactical end cleanup hook, currently there's only onpostmission which is VERY late so people have been hooking on mission summary UI instead.