Hi,
I'm actually creating my first replayable mission and for that I need to place hostages in a predefined random position, I've place different trigger with hostages inside, I want to choose one of those and delete all other.
Here is the script I made but all hostages are delete when I run it :
private _HostPos = [trig01, trig02, trig03]
_HostPos deleteAt (random (count _HostPos));
_y = count _HostPos;
for "_i" from 0 to _y do {
{deleteVehicle _x} forEach allUnits inArea (_HostPos select _i);
};
Could you help me ?
thanks