ENDLESS™ Space 2

ENDLESS™ Space 2

Explore the secrets of the Endless Universe
Discover the world of modding in Endless Space 2. Download an asset from this workshop (map, gameplay addition, etc.)
Schanez 30 Jun, 2018 @ 11:59am
Hero Recruitment Command?
Hi there guys, anyone knows by any chance, what is the command to prompt the "Choose one of three heros" event? And if yes, could direct me to it in the code? I tried to find it on my own, but after a few hours of code browsing, no results.

What I am looking to achive here, is remove the starting hero from each faction and replace it with a forced event that will randomly pull three from the faction and minor faction heroes. From what I know, each faction has 4 heroes, each minor faction has at least 1, I believe. My idea is to add a little bit of randomness to the starting situation for each race. I know where the heroes we getr now are stored, but can't find the command I need to write in that place. The official ES2 page does not have anything that would catch my eye here.

If anyone can offer any insight of their own here, would be very grateful.