[] spawn {
waitUntil {!isNull player};
waitUntil {vehicle player != player};
waitUntil {vehicle player == player};
player setCaptive false;
};
This is what I have running in the init right now, it sort of works but not really.
opfor won't become hostile immediately but only after I open fire on them.
I checked to make sure the mission hadn't set indfor friendly to opfor and they weren't.
Is there any simpler way to make opfor become hostile as soon as any player exits any vehicle?