Grinher1988 10 Posted February 3, 2015 (edited) ------removed--------- Edited February 3, 2015 by Grinher1988 Share this post Link to post Share on other sites
killzone_kid 1332 Posted February 3, 2015 (edited) unassignVehicle takes unit as argument and unassigns it from vehicle it is currently assigned to, check biki. Also _unitdriver _x is pretty strange combination. Edited February 3, 2015 by Killzone_Kid Share this post Link to post Share on other sites
Tankbuster 1747 Posted February 3, 2015 Now we'll never know. The reason community forums exist is so that we can all learn, now and in the future, many aspects of the game. If someone else made the same mistake you did, they had a ready made solution right there, but you denied them the answer. Not good form, old chap. :) Share this post Link to post Share on other sites
Grinher1988 10 Posted February 3, 2015 Well, the "solution" was incorrect after turning on -showScriptErrors. I keep getting a generic expression error but not sure how to solve it. while { ({_x distance _opDropZone < 100}forEach units _opGroup) } then { [color="#FF0000"]hint "WORKED"; deleteVehicle (_opVehicle); sleep 0.5; [/color] }; While all group members are close enough to the dropzone(invsibile helipad) then {//code}; Share this post Link to post Share on other sites
dreadedentity 278 Posted February 3, 2015 The two most common reasons for the "Generic error in expression" error, from what I've found, are caused by: 1. Trying to use suspension in a non-scheduled environment (ie. event handlers, editor init's) 2. Selecting an array element that is out-of-range. Where is the (#) symbol located in the resulting error box? A picture would be useful here. Also, take this: while {{_x distance _opDropZone < 100} count units _opGroup == count units _opGroup} do Share this post Link to post Share on other sites