Problem with UnitX() in Repeatable Triggers

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
Fer_Cabo
Posts: 111
Joined: Thu Sep 17, 2015 2:39 pm

Problem with UnitX() in Repeatable Triggers

Post by Fer_Cabo »

Hi Folks!

Specifically - see .scen attached- what keeps happening to me is that, in repeatable triggers with "Unit Enters Area" or "Unit Remains in Area", is that the Action(s) of the related Event always go back and Always&Only work on the FIRST unit that activated the trigger (regardless of that unit having thereafter followed its own story and maybe being already hundreds of miles away from the Area in the Trigger), not the LAST one causing the Trigger to activate.


In the .scen attached, UnitX() is and always remains the first ship that docked due to the trigger (which happened even before the starting point of THIS saved .scen file).

Therefore, all the other merchant ships remaining in the "Mooring/Waitin for port-call AREA" defined in the trigger, do NEVER dock nor change their Mission to - once replenished- depart for their next destination (BUSAN or TOKIO).

Thanks a lot, any help is greatly appreciated.

Kind regards!

Fernando.
Attachments
dockingaft..atrigger.zip
(9.4 KiB) Downloaded 19 times
Post Reply

Return to “Tech Support”