Arma 3
kserks96 Oct 26, 2023 @ 12:09am
How to use condition of presence?
I have solder X and solder Y. Only one should spawn at the mission start.

I tried to put folloving code in init.sqf:
r_var = random 1; if (r_var > 0.5) then{ x_var = true; y_var = false; } else { x_var = false; y_var = true; } ;

But none of them is present when i start the mission.
Last edited by kserks96; Oct 26, 2023 @ 12:13am
Date Posted: Oct 26, 2023 @ 12:09am
Posts: 0