Stellaris

Stellaris

Mod Menu
 This topic has been pinned, so it's probably important
had  [developer] Jul 23, 2017 @ 2:26pm
[Guide] Part 1. How to set Global Flag.
The simplest way is a hidden event which will fire on game start and set the global flag.

Example from autobuild:
event = { id = autobuild.101 hide_window = yes is_triggered_only = yes immediate = { set_global_flag = autobuild_installed } }

Andd set it to on_game_start hook:
on_game_start = { events = { autobuild.101 } }

And add it to on_actions[github.com]

But this event will not fire in save loaded game.
Fire only once solution turns to be bad solution.
Last edited by had; Jun 29, 2018 @ 7:01am