11-19-2016, 11:52 AM
Hey all,
Creating a waypoint, and at its end I need to eject all crew, this is the waypoint statement:
_heloWp setWaypointStatements ["true", "hint ""hmmmm""; {unAssignVehicle _x; _x action [""eject"", vehicle _x]; sleep 0.5;} forEach crew vehicle this;"];
and getting this error: "Error Generic error in expression"
However... all units eject and carry on with what they are suppose to do, so everything is working fine... I can ignore this message, but would rather fix it.
Any ideas?
Thanks
Creating a waypoint, and at its end I need to eject all crew, this is the waypoint statement:
_heloWp setWaypointStatements ["true", "hint ""hmmmm""; {unAssignVehicle _x; _x action [""eject"", vehicle _x]; sleep 0.5;} forEach crew vehicle this;"];
and getting this error: "Error Generic error in expression"
However... all units eject and carry on with what they are suppose to do, so everything is working fine... I can ignore this message, but would rather fix it.
Any ideas?
Thanks