ArmA 2:Operation Arrowhead - UnitCapture/ UnitPlay Tutorial

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,287
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 6, 2010

A quick tutorial on using the UnitCapture/ Unitplay functions.

Codes:
--------------------------------------------------------------------------------­--
(init)

MyPath = compile preprocessFile "path.sqf";
--------------------------------------------------------------------------------­--
(path)

Path1 =;
[Heli1, Path1] spawn BIS_fnc_UnitPlay;
--------------------------------------------------------------------------------­--
Trigger1

rec = [Heli1,200] spawn BIS_fnc_UnitCapture;
--------------------------------------------------------------------------------­--
Trigger2

rec = [] spawn Mypath;
--------------------------------------------------------------------------------­--
Moveincargo code

man1 moveincargo heli1;
--------------------------------------------------------------------------------­--

If I've missed anything out please let me know! Cheers!

Category:

Gaming

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (TheJserver)

  • ffs, when i save it the file is called init.sqf.txt...help

  • @Rijelthelovefool Go into your control panel, small icons on the drop down - then folder options. In there select the view tab, then uncheck hide extensions for knows file types. You should then be able to edit the file type.

  • can you do this with things other then a heli?

  • @projektpanzerfaust

    Sort of. I'll explain: Infantry and vehicles both have moving animations (running/ wheel/ track rotation) which will not be played when they trace the route. So yes it works and the unit will follow the path but anything other than helis will pretty much reference pose through the route. - Not an issue with non external view vehicles such as a tank crew or in any situation where you cant see the wheels. (far off)

    Might just have to try and see what works with your mission.

  • wait, the file doesn't save as 'init' file but insteand it saves as init.sqf text file D:

  • @sangyuni96 Go into your control panel, small icons on the drop down - then folder options. In there select the view tab, then uncheck hide extensions for knows file types. You should then be able to edit the file type.

see all

All Comments (52)

Sign In or Sign Up now to post a comment!
  • @hackerisslv use -showScriptErrors when launching game to see what you did wrong

  • When i try to playback chopper route data ( apache ) the games just lags for about 2 sec and nothing .. everything works with a-10 warthog.. why?!

  • lol record the capture with a plane\heli then change the plane\heli to a car\tank\person

    FLYING APC'S ARE AWESOME!!!!1!

  • @evilnight91 use a standart plane from arma...make the path and than just change the model ;) but its a little bit bugged coz the models arent the same

  • @evilnight91 ;/ ye i tried to make a b17 bomber run on a village from i44...doest work too :O

  • and you dont need to name the man you can just type "this moveincargo (vehicle name)"

  • does this work in arma 2 free?

  • i have a problem, it doesn't save when i do escape... But i have the "start recording". Any idea?

    It seems it doesn't work with planes from mods... I tried to land with a F18 on the nimitz.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more