I'm making a mission which you switch units with a trigger.
Trigger condition is fine, but issue is the activation. I want to have a phase, like, "fadeout > sleep for about 5 secs > switch unit > sleep for another 5 secs > fadein". Issue is, sleep doesn't work in triggers. Fadeout sequence starts but turns into fadein almost immediately with a bunch of "expression errors".
//This is what I got inside Trigger "On Activation"
[0, "BLACK", 5, 1] spawn BIS_fnc_fadeEffect;
[1, "BLACK", 5, 1] spawn BIS_fnc_fadeEffect;
I'm not very found of external files or I don't really understand script languages. Is there a way to make it work with triggers? I remember these being easy before, I had a Steam post but looks like discussions were wiped and stuff changed since then.