Page 1 of 1

Scenario event breaks it, prevents loading of scenario

Posted: Sun Feb 21, 2016 1:28 am
by VFA41_Lion
Hi guys, encountered this interesting new error.

In the active event that spawns 3 possible carrier groups, I have the trigger set to "scenario has loaded" and a condition executing a lua script that uses the get time function. I realize now this clearly does nothing but the game really didn't like it and booted me back to the menu screen every time I loaded the scenario with the condition active.

I managed to fix it by editing the event before selecting realism settings and loading the scenario, though.

RE: Scenario event breaks it, prevents loading of scenario

Posted: Sun Feb 21, 2016 2:23 am
by michaelm75au
The trigger of "start time plus one second" would not be relevant to a condition of "Scenario started" - no time has elapsed. As you have said.
Maybe the 'time' has not yet been initialized yet??
The drop-down list of functions is not filtered to those that are valid at any particular time from what I can see.