Back to Browse

Arma 3: Spawning Units Tutorial - Part 2 Waypoints

16.1K views
Oct 21, 2013
17:44

Part 2: In part two we look at adding waypoints to the group we spawned in part one. All code and website links featured in this video can be found bellow. Part1: is here: http://www.youtube.com/watch?v=6iLHVxhpTRk Part3: is here: http://www.youtube.com/watch?v=5z6SCk2qVkU Demo: https://www.dropbox.com/s/laul4xj6gr51rdo/%5BU_TUBE_02%5D_Spawn_Tut_Two.Stratis.rar?dl=0 NOTE: be aware when copying and pasting code from here, that utube adds random hyphen (-) for no reason the following code should have NO hyphens! Your Triggers On Act = Nul = execVM "myscript.sqf"; Script 1 (Simple Waypoints): _mygroup = [getmarkerpos "mygroupstart", EAST, ["O_officer_F","O_officer_F","O_officer_F","O_officer_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; _wp1 = _mygroup addWaypoint [getmarkerpos "wp1", 0]; _wp2 = _mygroup addWaypoint [getmarkerpos "wp2", 0]; Script 2 (Complex Waypoints): _mygroup = [getmarkerpos "mygroupstart", EAST, ["O_officer_F","O_officer_F","O_officer_F","O_officer_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; _wp1 = _mygroup addWaypoint [getmarkerpos "wp1", 0]; _wp1 setWaypointType "MOVE"; _wp1 setWaypointSpeed "FULL"; _wp1 setWaypointBehaviour "AWARE"; _wp1 setWaypointFormation "LINE"; _wp2 = _mygroup addWaypoint [getmarkerpos "wp2", 0]; _wp2 setWaypointType "SAD"; _wp2 setWaypointSpeed "FULL"; _wp2 setWaypointBehaviour "AWARE"; _wp2 setWaypointFormation "COLUMN"; _wp3 = _mygroup addWaypoint [getmarkerpos "mygroupstart", 0]; _wp3 setWaypointType "cycle"; _wp3 setWaypointSpeed "FULL"; _wp3 setWaypointBehaviour "AWARE"; _wp3 setWaypointFormation "COLUMN"; Website Links: Notepad ++ = http://www.armaholic.com/page.php?id=8680 addWaypoint = http://community.bistudio.com/wiki/addWaypoint setWaypointSpeed = http://community.bistudio.com/wiki/setWaypointSpeed setWaypointType = http://community.bistudio.com/wiki/setWaypointType setWaypointBehaviour = http://community.bistudio.com/wiki/setWaypointBehaviour setWaypointFormation = http://community.bistudio.com/wiki/setWaypointFormation Links to Wiki Pages Not Featured in this video (useful): setWaypointTimeout = http://community.bistudio.com/wiki/setWaypointTimeout setWaypointCompletionRadius = http://community.bistudio.com/wiki/setWaypointCompletionRadius setWaypointDescription = http://community.bistudio.com/wiki/setWaypointDescription Re-run the script when everyone In the group is dead example: http://pastebin.com/NTKGytHr "This video was created using content of Bohemia Interactive a.s." "Copyright © 2013 Bohemia Interactive a.s. All rights reserved." "See www.bistudio.com for more information."

Download

1 formats

Video Formats

360pmp434.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Arma 3: Spawning Units Tutorial - Part 2 Waypoints | NatokHD