scary577 1 Posted January 12, 2014 So, while edditing a simple mission to test out unitcapture, I ran into a problem. I have one Wildcat Heli, and four Independent rifleman. To capture the path, I set up a trigger using radio, and have the script " rec = [vehicle player,200,20] spawn BIS_fnc_UnitCapture; " It worked, and I copied the data to the clipboard using F1. I then went to the mission file, and made a .sqf called "MovementTest". I placed the script below into the file. _movementdata = <mdata> ; //_firingdata = <fdata> ; _sequence = [Heli1, _movementdata] spawn BIS_fnc_UnitPlay; //[Heli1, _firingdata] spawn BIS_fnc_UnitPlayFiring; waitUntil {scriptDone _sequence}; hint "Playback finished"; (Substituting <mdata> for my actual movement path) Here comes my issue however. When I try to use "nul = [] execVM "MovementTest.sqf" " nothing happens. The Heli just sits there. Can someone tell me where to put the command to make the heli follow the path, or if I am writing it incorrectly? For the guide and script that I used in the making of this use this link (http://forums.bistudio.com/showthread.php?169539-How-to-use-UnitCapture-in-Arma-3) Share this post Link to post Share on other sites
rakowozz 14 Posted January 13, 2014 (edited) That's odd. Did you start recording while on the heli, already? I remember using: _path1 = <pathdata>; playing = [heli, _path1, [obj, "doneflying"]] spawn BIS_fnc_unitPlay; Don't know what difference the third parameter would make, as it clearly seems optional. Though, it's an alternative to scriptDone. PS: third paramater sets a variable that'll return true when sequence is done, just to make it clear :) Edited January 13, 2014 by rakowozz Share this post Link to post Share on other sites