Hey guys,
I just started with modding Stellaris and I came to a halt on an event I'm making. You can see the process scheme underneath. If the anomaly research is a success, you will get EVENT 1 (otherwise you'll end up with EVENT 2). EVENT 1 gives 4 choices, which outcomes all work fine.
If we follow the path of being 'Any other empire WITHOUT Droid technology' the player ends up with a +4 engineering deposit on the planet and the country_flag for a later event. Then I put in a hidden event (EVENT 3) to trigger when the player has researched Droid tech. EVENT 3 has an 'is_triggered_only' and the triggers are shown in the picture. When I research Droid tech, nothing happens though. All triggers are active and this is also proven to me when I manually trigger EVENT 3 in de console, showing me that all triggers are ticked (it doesn't show all of them ticked when one of the is absent). I tried removing the 'is_triggered_only', but then the event keeps spawning. I tried to remove the 'NOT has policy flag = ai outlawed', but then it just give me a blank screen at the beginning of my game. When I trigger EVENT 3 manually, it triggers EVENT 4 soon after, allowing me to choose the research project and get EVENT 5. These paths all work fine.
When you follow the path of 'Any other empire WITH Droid technology' in EVENT 1, you'll immediately get to the research project since you already have the droid tech. But when I finish the project, nothing happens. In the other path (the one above) the research project just works fine. There's nothing different in the code leading up to EVENT 5 in the other path. There no flags set or anything. The option in EVENT 1 is basically the same as in EVENT 4.
In both instances I have checked whether I have a typo or a missing { , but that doesn't seem to be the case.
Can someone please help me? I can send the code if necessary.
I just started with modding Stellaris and I came to a halt on an event I'm making. You can see the process scheme underneath. If the anomaly research is a success, you will get EVENT 1 (otherwise you'll end up with EVENT 2). EVENT 1 gives 4 choices, which outcomes all work fine.
If we follow the path of being 'Any other empire WITHOUT Droid technology' the player ends up with a +4 engineering deposit on the planet and the country_flag for a later event. Then I put in a hidden event (EVENT 3) to trigger when the player has researched Droid tech. EVENT 3 has an 'is_triggered_only' and the triggers are shown in the picture. When I research Droid tech, nothing happens though. All triggers are active and this is also proven to me when I manually trigger EVENT 3 in de console, showing me that all triggers are ticked (it doesn't show all of them ticked when one of the is absent). I tried removing the 'is_triggered_only', but then the event keeps spawning. I tried to remove the 'NOT has policy flag = ai outlawed', but then it just give me a blank screen at the beginning of my game. When I trigger EVENT 3 manually, it triggers EVENT 4 soon after, allowing me to choose the research project and get EVENT 5. These paths all work fine.
When you follow the path of 'Any other empire WITH Droid technology' in EVENT 1, you'll immediately get to the research project since you already have the droid tech. But when I finish the project, nothing happens. In the other path (the one above) the research project just works fine. There's nothing different in the code leading up to EVENT 5 in the other path. There no flags set or anything. The option in EVENT 1 is basically the same as in EVENT 4.
In both instances I have checked whether I have a typo or a missing { , but that doesn't seem to be the case.
Can someone please help me? I can send the code if necessary.
