Jump to content
Sign in to follow this  
[lol]clan killer bee

Searchlight & Mg post !

Recommended Posts

Hi guys I was wondering if there would be a sctipt that would make a searchlight move let and right.

There could be a trigger where some one walks over with a random change of being detected.

I remember I have seen a long time ago somethin like that with this in there !

_x and add to list 

or something like that.

Would this be posible to make the searchlight search and spot ?

And maybe hook it to a mg ?

or a mg that can spot ?

Thank you !:rolleyes:

Share this post


Link to post
Share on other sites

Holy crap Big Dawg KS,that I looked in the headers and don't understand jack.

I understand that it can record a certain patern but how and what I don't understand.

I believe I understand that is is called and recorded in the data folder, right ?

There any tutorial on youtube or any kind ?

Looks might good though !

Share this post


Link to post
Share on other sites

It's simple really.

1. Copy the "scan" folder into your mission, and the init.sqf (or copy its contents into yours if you have one).

2. Choose which method to use (absolute or relative) and set up a radio trigger to call the capture function on the unit you're capturing for however many seconds you think you need to capture for. Ex:

0 = [sLight,45] spawn BD_fnc_CaptureScanPattern

3. Preview the mission and man/takeover the unit you are capturing. When you're ready to begin capturing, execute the radio trigger (0-0-#) and when the hint shows that you have begun capturing, follow the pattern you wish to record. When you are done, press Esc. If Esc brings up the game menu, just return to game.

4. At this point it will display a hint telling you it has been captured. Simply press F1 to copy the captured data, then alt-tab out of the game, open up any blank file and paste (Ctrl-V) the recorded data. Save this file somewhere in your mission.

5. Return to the mission editor. Now you can call the play function from a trigger passing the recorded data from that file you just made. Ex:

0 = [sLight,call compile loadFile "sLightData.txt",true,false,[Mgun]] spawn BD_fnc_ScanPattern

When this is called, the AI gunner will now follow the recorded pattern.

Anyway, it works pretty much the same way as BIS's UnitCapture and UnitPlay functions, which have already been pretty well documented. So read that thread if you still can't figure it out.

Share this post


Link to post
Share on other sites

Thank you sofar for all your help.

I'll will take a look at it an should be able to work it out ( I hope ) :D

Like I said thanks sofar. !

P.s

Such things should be on youtube as a tutorial ! :scratchchin:

Share this post


Link to post
Share on other sites

Hmm it is not going like I like to !

i saw that I had to change the name so it worked.

I have a problem though with the info from the copy !

I past it in a folder named it and activated it, but the demo does work, mine doesn't.

What do I miss ?

I saw that the difference was that the data file from the demo had no

,any
in the file .

Is seems to be activaded but it doesn't follow the path recorded !

demo:

[[0,[1356.23,1469.39,5.22723]],[0.079,[1356.23,1469.39,5.22723]],[0.107,[1356.23,1469.39,5.22723]],[0.17,[1356.23,1469.39,5.22723]],[0.217,[1356.23,1469.39,5.22721]],[0.269,[1356.23,1469.39,5.22548]],[0.322,[1356.23,1469.36,5.2089]],[0.374,[1356.24,1469.22,5.17085]],[0.423,[1356.27,1468.93,5.12002]],[0.483,[1356.33,1468.31,5.04428]],[0.527,[1356.41,1467.63,4.98486]],[0.588,[1356.56,1466.64,4.90756]],[0.631,[1356.68,1465.95,4.85458]],[0.682,[1356.81,1465.33,4.79773]],[0.743,[1356.98,1464.59,4.72705]],[0.793,[1357.09,1464.14,4.6733]],[0.845,[1357.21,1463.69,4.61421]],[0.895,[1357.33,1463.28,4.5556]],[0.945,[1357.44,1462.88,4.50487]],[1.006,[1357.64,1462.25,4.45492]],[1.056,[1357.82,1461.74,4.42729]],[1.107,[1357.98,1461.29,4.40886]],[1.172,[1358.18,1460.74,4.3856]],[1.219,[1358.32,1460.4,4.37528]],[1.284,[1358.5,1459.97,4.36584]],[1.334,[1358.63,1459.66,4.3642]],[1.385,[1358.78,1459.32,4.35862]],[1.438,[1358.94,1458.97,4.34997]],[1.497,[1359.16,1458.5,4.33533]],[1.551,[1359.43,1457.97,4.29533]],[1.6,[1359.69,1457.46,4.25849]],[1.652,[1359.96,1456.97,4.22901]],[1.703,[1360.25,1456.47,4.21178]],[1.756,[1360.56,1455.95,4.21852]],[1.806,[1360.88,1455.42,4.22884]],[1.856,[1361.21,1454.92,4.24419]],[1.913,[1361.6,1454.35,4.27137]],[1.958,[1361.93,1453.89,4.29907]],[2.017,[1362.3,1453.39,4.33067]],[2.07,[1362.61,1452.99,4.3525]],[2.124,[1362.9,1452.63,4.36454]],[2.174,[1363.14,1452.33,4.36946]],[2.236,[1363.49,1451.93,4.37704]],[2.285,[1363.8,1451.57,4.38483]],[2.348,[1364.23,1451.1,4.39266]],[2.4,[1364.59,1450.72,4.40304]],[2.45,[1364.9,1450.4,4.4173]],[2.501,[1365.22,1450.09,4.43357]],[2.553,[1365.52,1449.8,4.45136]],[2.601,[1365.89,1449.45,4.47687]],[2.664,[1366.45,1448.95,4.50256]],[2.72,[1366.88,1448.58,4.52341]],[2.776,[1367.3,1448.23,4.53698]],[2.823,[1367.55,1448.04,4.54564]],[2.886,[1367.92,1447.75,4.56518]],[2.937,[1368.23,1447.51,4.58164]],[3,[1368.64,1447.21,4.61145]],[3.052,[1369,1446.96,4.62875]],[3.102,[1369.31,1446.74,4.63958]],[3.165,[1369.71,1446.47,4.64244]],[3.214,[1370.06,1446.25,4.63773]],[3.264,[1370.45,1446.01,4.63284]],[3.317,[1370.85,1445.76,4.62244]],[3.368,[1371.17,1445.58,4.59849]],[3.418,[1371.4,1445.45,4.56151]],[3.468,[1371.52,1445.38,4.50169]],[3.519,[1371.64,1445.32,4.41508]],[3.569,[1371.81,1445.23,4.30701]],[3.62,[1371.99,1445.14,4.17687]],[3.672,[1372.18,1445.04,4.04491]],[3.722,[1372.33,1444.97,3.90002]],[3.789,[1372.42,1444.94,3.66273]],[3.823,[1372.44,1444.94,3.51364]],[3.883,[1372.44,1444.96,3.24527]],[3.928,[1372.44,1444.98,3.01664]],[3.991,[1372.44,1445.01,2.71684]],[4.043,[1372.44,1445.03,2.50033]],[4.094,[1372.46,1445.04,2.29003]],[4.145,[1372.47,1445.06,2.10015]],[4.197,[1372.46,1445.08,1.92108]],[4.249,[1372.45,1445.11,1.74003]],[4.3,[1372.42,1445.15,1.56861]],[4.35,[1372.4,1445.19,1.42025]],[4.418,[1372.33,1445.26,1.20526]],[4.453,[1372.27,1445.31,1.09396]],[4.504,[1372.13,1445.41,0.91081]],[4.559,[1371.95,1445.54,0.738441]],[4.611,[1371.72,1445.7,0.555961]],[4.661,[1371.46,1445.87,0.382113]],[4.713,[1371.16,1446.08,0.202756]],[4.764,[1370.88,1446.29,0.0285015]],[4.815,[1370.61,1446.49,-0.139028]],[4.867,[1370.4,1446.65,-0.277324]],[4.919,[1370.18,1446.83,-0.417995]],[4.969,[1369.92,1447.03,-0.577035]],[5.02,[1369.64,1447.26,-0.747207]],[5.072,[1369.32,1447.53,-0.928045]],[5.123,[1369.02,1447.79,-1.10816]],[5.175,[1368.6,1448.17,-1.36687]],[5.227,[1368.02,1448.73,-1.74032]],[5.28,[1367.31,1449.44,-2.12015]],[5.331,[1366.55,1450.24,-2.50988]],[5.383,[1365.97,1450.91,-2.79435]],[5.437,[1365.49,1451.47,-3.02288]],[5.488,[1365.13,1451.93,-3.20289]],[5.54,[1364.8,1452.36,-3.35917]],[5.594,[1364.53,1452.73,-3.48225]],[5.648,[1364.31,1453.02,-3.5707]],[5.7,[1364.13,1453.28,-3.64415]],[5.752,[1363.91,1453.58,-3.72123]],[5.806,[1363.63,1453.98,-3.81986]],[5.861,[1363.2,1454.63,-3.97843]],[5.916,[1362.67,1455.48,-4.16026]],[5.969,[1362.05,1456.52,-4.31088]],[6.025,[1361.4,1457.7,-4.43292]],[6.08,[1360.9,1458.69,-4.51319]],[6.135,[1360.49,1459.61,-4.59794]],[6.183,[1360.19,1460.31,-4.65536]],[6.237,[1359.83,1461.25,-4.70989]],[6.291,[1359.49,1462.2,-4.75388]],[6.341,[1359.18,1463.17,-4.7867]],[6.397,[1358.88,1464.27,-4.81386]],[6.443,[1358.67,1465.13,-4.8336]],[6.494,[1358.5,1465.91,-4.85038]],[6.545,[1358.37,1466.65,-4.86475]],[6.595,[1358.26,1467.36,-4.87603]],[6.662,[1358.12,1468.45,-4.88814]],[6.698,[1358.07,1468.98,-4.89308]],[6.748,[1358.02,1469.61,-4.89927]],[6.801,[1357.99,1470.16,-4.90409]],[6.851,[1357.97,1470.64,-4.90811]],[6.902,[1357.96,1471.04,-4.90811]],[6.956,[1357.95,1471.48,-4.90811]],[7.008,[1357.96,1471.87,-4.91041]],[7.057,[1357.96,1472.28,-4.91315]],[7.111,[1357.98,1472.68,-4.91536]],[7.159,[1358,1473.06,-4.91715]],[7.212,[1358.02,1473.45,-4.91871]],[7.266,[1358.05,1473.89,-4.91996]],[7.314,[1358.1,1474.38,-4.92087]],[7.366,[1358.16,1474.92,-4.92168]],[7.417,[1358.24,1475.5,-4.92231]],[7.471,[1358.35,1476.25,-4.92283]],[7.523,[1358.51,1477.09,-4.92325]],[7.578,[1358.69,1477.94,-4.92357]],[7.626,[1358.91,1478.82,-4.92384]],[7.679,[1359.1,1479.49,-4.92406]],[7.733,[1359.29,1480.11,-4.92425]],[7.786,[1359.53,1480.83,-4.92438]],[7.841,[1359.89,1481.8,-4.9245]],[7.89,[1360.31,1482.82,-4.92458]],[7.942,[1360.91,1484.11,-4.92465]],[7.994,[1361.65,1485.51,-4.92472]],[8.049,[1362.39,1486.74,-4.92477]],[8.101,[1363.05,1487.72,-4.9248]],[8.154,[1363.63,1488.52,-4.92484]],[8.208,[1364.11,1489.14,-4.92486]],[8.258,[1364.54,1489.66,-4.92488]],[8.309,[1365.02,1490.22,-4.92152]],[8.364,[1365.68,1490.95,-4.91314]],[8.417,[1366.53,1491.83,-4.88014]],[8.472,[1367.56,1492.79,-4.84292]],[8.523,[1368.7,1493.76,-4.79144]],[8.573,[1369.92,1494.69,-4.72659]],[8.628,[1370.94,1495.4,-4.6788]],[8.681,[1371.96,1496.04,-4.62854]],[8.73,[1372.63,1496.43,-4.60238]],[8.782,[1373.21,1496.74,-4.58302]],[8.832,[1373.73,1497.01,-4.57334]],[8.883,[1374.24,1497.26,-4.55204]],[8.937,[1374.73,1497.49,-4.52022]],[8.989,[1375.23,1497.72,-4.47255]],[9.039,[1375.9,1498.03,-4.38715]],[9.1,[1376.57,1498.31,-4.30344]],[9.145,[1377.29,1498.58,-4.2132]],[9.2,[1378.1,1498.87,-4.11696]],[9.252,[1378.87,1499.11,-4.03549]],[9.304,[1379.8,1499.37,-3.9469]],[9.355,[1380.62,1499.58,-3.86231]],[9.414,[1381.51,1499.77,-3.76591]],[9.464,[1382.12,1499.88,-3.7078]],[9.514,[1382.72,1499.98,-3.65328]],[9.581,[1383.56,1500.09,-3.58509]],[9.616,[1383.99,1500.13,-3.5453]],[9.667,[1384.88,1500.22,-3.45304]],[9.718,[1385.94,1500.28,-3.32038]],[9.771,[1387.27,1500.32,-3.13886]],[9.829,[1389.05,1500.28,-2.85035]],[9.871,[1389.91,1500.22,-2.70347]],[9.933,[1391.46,1500.04,-2.47201]],[9.971,[1392.11,1499.93,-2.39012]],[10.024,[1392.83,1499.79,-2.29873]],[10.075,[1393.34,1499.69,-2.22232]],[10.125,[1393.64,1499.63,-2.15728]],[10.178,[1393.93,1499.56,-2.10442]],[10.23,[1394.33,1499.46,-2.05612]],[10.278,[1394.71,1499.36,-2.01382]],[10.33,[1395.05,1499.26,-1.97878]],[10.394,[1395.31,1499.19,-1.9425]],[10.446,[1395.36,1499.17,-1.92418]],[10.495,[1395.32,1499.19,-1.90273]],[10.545,[1395.12,1499.27,-1.83713]],[10.595,[1394.78,1499.41,-1.72361]],[10.662,[1394.08,1499.68,-1.46267]],[10.698,[1393.73,1499.81,-1.32462]],[10.765,[1393.18,1500.02,-1.05705]],[10.798,[1392.99,1500.09,-0.941978]],[10.863,[1392.79,1500.18,-0.740455]],[10.915,[1392.73,1500.23,-0.573852]],[10.963,[1392.71,1500.27,-0.408294]],[11.017,[1392.7,1500.3,-0.218784]],[11.066,[1392.72,1500.33,-0.0570087]],[11.116,[1392.74,1500.35,0.0890546]],[11.182,[1392.72,1500.39,0.272861]],[11.217,[1392.69,1500.41,0.370573]],[11.282,[1392.6,1500.47,0.577754]],[11.332,[1392.46,1500.53,0.736632]],[11.398,[1392.13,1500.62,0.911743]],[11.448,[1391.68,1500.73,1.00685]],[11.498,[1391,1500.86,1.08265]],[11.549,[1390.14,1501,1.15185]],[11.6,[1388.91,1501.15,1.22868]],[11.65,[1387.57,1501.25,1.27705]],[11.704,[1385.98,1501.29,1.31179]],[11.752,[1384.81,1501.26,1.35023]],[11.802,[1383.67,1501.2,1.38938]],[11.853,[1382.76,1501.11,1.42906]],[11.916,[1381.42,1500.94,1.49879]],[11.966,[1380.39,1500.76,1.54126]],[12.023,[1379.45,1500.56,1.58024]],[12.072,[1378.72,1500.39,1.60847]],[12.137,[1377.96,1500.18,1.62823]],[12.172,[1377.63,1500.09,1.63509]],[12.225,[1377.19,1499.95,1.63857]],[12.275,[1376.71,1499.8,1.64215]],[12.329,[1376.21,1499.63,1.65315]],[12.379,[1375.57,1499.39,1.67953]],[12.43,[1374.93,1499.15,1.71338]],[12.489,[1373.81,1498.67,1.77831]],[12.54,[1372.75,1498.17,1.84089]],[12.604,[1371.15,1497.31,1.90961]],[12.654,[1370.07,1496.66,1.9422]],[12.706,[1369.06,1495.98,1.96302]],[12.767,[1368.13,1495.31,1.96784]],[12.816,[1367.35,1494.69,1.96072]],[12.866,[1366.49,1493.97,1.96681]],[12.932,[1365.09,1492.66,1.99488]],[12.98,[1363.84,1491.34,2.04467]],[13.037,[1362.67,1489.96,2.10197]],[13.082,[1361.79,1488.78,2.12554]],[13.132,[1360.98,1487.56,2.13669]],[13.184,[1360.38,1486.59,2.13716]],[13.247,[1359.82,1485.57,2.11476]],[13.297,[1359.52,1484.99,2.0994]],[13.347,[1359.29,1484.52,2.08619]],[13.398,[1359.02,1483.93,2.07201]],[13.448,[1358.75,1483.32,2.07043]],[13.499,[1358.42,1482.54,2.07605]],[13.55,[1358.08,1481.65,2.08731]],[13.599,[1357.74,1480.62,2.09902]],[13.666,[1357.24,1478.89,2.11746]],[13.714,[1356.92,1477.51,2.12955]],[13.769,[1356.63,1475.84,2.14207]],[13.818,[1356.46,1474.43,2.15897]],[13.869,[1356.37,1473.3,2.17195]],[13.933,[1356.32,1472.1,2.18781]],[13.978,[1356.31,1471.46,2.19979]],[14.029,[1356.32,1470.94,2.2127]],[14.079,[1356.33,1470.43,2.22543]],[14.144,[1356.37,1469.75,2.24113]],[14.191,[1356.4,1469.27,2.24837]],[14.256,[1356.47,1468.48,2.25967]],[14.308,[1356.55,1467.79,2.26939]],[14.371,[1356.7,1466.72,2.30432]],[14.408,[1356.84,1465.93,2.34328]],[14.47,[1357.17,1464.37,2.41062]],[14.519,[1357.56,1462.92,2.4827]],[14.57,[1358.01,1461.53,2.54172]],[14.636,[1358.56,1460.11,2.58768]],[14.67,[1358.78,1459.58,2.60287]],[14.734,[1359.19,1458.69,2.63202]],[14.771,[1359.35,1458.35,2.64897]],[14.833,[1359.59,1457.87,2.6771]],[14.885,[1359.82,1457.42,2.7139]],[14.938,[1360.05,1457,2.74725]],[14.989,[1360.29,1456.57,2.78712]],[15.042,[1360.52,1456.17,2.81773]],[15.092,[1360.71,1455.85,2.83731]],[15.159,[1360.97,1455.44,2.8559]],[15.193,[1361.11,1455.22,2.86315]],[15.247,[1361.3,1454.93,2.87795]],[15.294,[1361.52,1454.61,2.88968]],[15.347,[1361.78,1454.24,2.9058]],[15.398,[1362.03,1453.88,2.92088]],[15.447,[1362.32,1453.49,2.93761]],[15.499,[1362.64,1453.08,2.95978]],[15.548,[1362.97,1452.66,2.98365]],[15.601,[1363.33,1452.23,3.01228]],[15.651,[1363.65,1451.85,3.04401]],[15.704,[1363.99,1451.46,3.08242]],[15.758,[1364.28,1451.14,3.11857]],[15.805,[1364.56,1450.84,3.15947]],[15.872,[1365,1450.39,3.21469]],[15.907,[1365.22,1450.17,3.23533]],[15.957,[1365.56,1449.84,3.25633]],[16.022,[1366.02,1449.41,3.26093]],[16.071,[1366.36,1449.11,3.25616]],[16.121,[1366.73,1448.79,3.25298]],[16.171,[1367.2,1448.39,3.25456]],[16.223,[1367.73,1447.97,3.25986]],[16.274,[1368.28,1447.55,3.26494]],[16.324,[1368.82,1447.16,3.27163]],[16.377,[1369.25,1446.86,3.27663]],[16.427,[1369.65,1446.59,3.28693]],[16.479,[1370.01,1446.36,3.29888]],[16.529,[1370.32,1446.16,3.30868]],[16.595,[1370.69,1445.93,3.31373]],[16.63,[1370.84,1445.84,3.31373]],[16.68,[1371.02,1445.73,3.31206]],[16.731,[1371.15,1445.66,3.29428]],[16.78,[1371.21,1445.63,3.2514]],[16.83,[1371.21,1445.64,3.17794]],[16.896,[1371.04,1445.75,3.02319]],[16.93,[1370.9,1445.84,2.9398]],[16.98,[1370.64,1446,2.82667]],[17.03,[1370.35,1446.19,2.71509]],[17.083,[1370.08,1446.37,2.61753]],[17.132,[1369.75,1446.6,2.49388]],[17.182,[1369.42,1446.83,2.36584]],[17.232,[1369.09,1447.08,2.24356]],[17.282,[1368.71,1447.37,2.10524]],[17.349,[1368.13,1447.82,1.91387]],[17.385,[1367.81,1448.08,1.81728]],[17.436,[1367.2,1448.6,1.65796]],[17.501,[1366.24,1449.45,1.47788]],[17.551,[1365.48,1450.18,1.3479]],[17.603,[1364.74,1450.96,1.21744]],[17.655,[1364.2,1451.55,1.11485]],[17.707,[1363.81,1452.01,1.00431]],[17.758,[1363.58,1452.3,0.908645]],[17.81,[1363.42,1452.51,0.822641]],[17.875,[1363.12,1452.9,0.695006]],[17.926,[1362.78,1453.36,0.577061]],[17.977,[1362.33,1453.99,0.440886]],[18.029,[1361.76,1454.83,0.290627]],[18.085,[1361.14,1455.82,0.153617]],[18.133,[1360.63,1456.71,0.0424266]],[18.186,[1360.15,1457.6,-0.0644813]],[18.238,[1359.82,1458.26,-0.143178]],[18.291,[1359.58,1458.78,-0.212796]],[18.344,[1359.42,1459.14,-0.254529]],[18.395,[1359.29,1459.43,-0.277184]],[18.447,[1359.14,1459.78,-0.310231]],[18.497,[1358.97,1460.21,-0.360043]],[18.55,[1358.78,1460.71,-0.41443]],[18.602,[1358.6,1461.19,-0.465554]],[18.652,[1358.44,1461.67,-0.512606]],[18.702,[1358.29,1462.12,-0.551172]],[18.769,[1358.12,1462.69,-0.606582]],[18.806,[1358.02,1463,-0.635449]],[18.856,[1357.88,1463.53,-0.686035]],[18.919,[1357.72,1464.18,-0.751745]],[18.971,[1357.58,1464.78,-0.817397]],[19.022,[1357.47,1465.32,-0.881241]],[19.071,[1357.37,1465.9,-0.951406]],[19.124,[1357.26,1466.56,-1.03097]],[19.173,[1357.17,1467.26,-1.11504]],[19.223,[1357.09,1468.03,-1.2195]],[19.275,[1357.03,1468.81,-1.33151]],[19.323,[1357,1469.44,-1.42602]],[19.388,[1356.98,1470.31,-1.55249]],[19.437,[1356.98,1470.99,-1.63483]],[19.487,[1356.99,1471.78,-1.71929]],[19.553,[1357.06,1473.17,-1.83793]],[19.587,[1357.14,1473.98,-1.90562]],[19.638,[1357.32,1475.46,-1.99393]],[19.689,[1357.58,1476.96,-2.05381]],[19.754,[1357.9,1478.4,-2.09216]],[19.804,[1358.13,1479.28,-2.10033]],[19.855,[1358.33,1479.96,-2.10539]],[19.908,[1358.47,1480.42,-2.11062]],[19.962,[1358.59,1480.78,-2.11764]],[20.018,[1358.77,1481.27,-2.13338]],[20.067,[1359.02,1481.95,-2.15566]],[20.118,[1359.34,1482.74,-2.17614]],[20.169,[1359.68,1483.5,-2.18652]],[20.219,[1359.98,1484.16,-2.18474]],[20.271,[1360.31,1484.82,-2.16803]],[20.325,[1360.75,1485.67,-2.13687]],[20.374,[1361.22,1486.5,-2.10785]],[20.426,[1361.76,1487.38,-2.06632]],[20.477,[1362.17,1488.01,-2.02361]],[20.53,[1362.49,1488.5,-1.96685]],[20.583,[1362.78,1488.93,-1.88262]],[20.634,[1363.06,1489.34,-1.77449]],[20.686,[1363.32,1489.72,-1.64689]],[20.737,[1363.57,1490.09,-1.49863]],[20.789,[1363.78,1490.41,-1.33188]],[20.841,[1363.98,1490.7,-1.14152]],[20.892,[1364.2,1491.04,-0.90801]],[20.945,[1364.56,1491.53,-0.599051]],[20.998,[1365.01,1492.1,-0.261317]],[21.046,[1365.49,1492.65,0.0248408]],[21.096,[1365.99,1493.2,0.293293]],[21.148,[1366.45,1493.67,0.501287]],[21.2,[1366.85,1494.05,0.664043]],[21.25,[1367.26,1494.43,0.825427]],[21.303,[1367.6,1494.73,0.959332]],[21.352,[1367.89,1494.98,1.0982]],[21.416,[1368.22,1495.28,1.30164]],[21.452,[1368.39,1495.42,1.42545]],[21.503,[1368.62,1495.62,1.63021]],[21.568,[1368.9,1495.87,1.90308]],[21.603,[1369.01,1495.96,2.03343]],[21.666,[1369.3,1496.2,2.30594]],[21.712,[1369.56,1496.39,2.48945]],[21.762,[1369.86,1496.61,2.66181]],[21.827,[1370.32,1496.92,2.86195]],[21.875,[1370.68,1497.16,2.98317]],[21.941,[1371.16,1497.45,3.12747]],[21.989,[1371.5,1497.65,3.22443]],[22.04,[1371.89,1497.88,3.32779]],[22.089,[1372.25,1498.07,3.41028]],[22.155,[1372.93,1498.43,3.52656]],[22.192,[1373.38,1498.65,3.60974]],[22.25,[1374.44,1499.14,3.92479]],[22.296,[1375.55,1499.6,4.30422]],[22.348,[1376.9,1500.09,4.68681]],[22.397,[1378.45,1500.55,4.96076]],[22.458,[1380.2,1500.96,5.10573]],[22.508,[1381.31,1501.17,5.17428]],[22.559,[1382.28,1501.31,5.27543]],[22.621,[1383.61,1501.45,5.48812]],[22.668,[1384.79,1501.53,5.67597]],[22.719,[1386.23,1501.55,5.89211]],[22.781,[1387.67,1501.51,6.09236]],[22.834,[1388.62,1501.45,6.21896]],[22.885,[1389.23,1501.39,6.3039]],[22.941,[1389.72,1501.33,6.37546]],[22.989,[1389.95,1501.3,6.41273]],[23.055,[1390.13,1501.27,6.43537]],[23.1,[1390.17,1501.27,6.44165]],[23.163,[1390.17,1501.27,6.44165]],[23.214,[1390.13,1501.28,6.43589]],[23.279,[1389.85,1501.31,6.36133]],[23.324,[1389.53,1501.35,6.26907]],[23.374,[1389.06,1501.41,6.14815]],[23.436,[1388.43,1501.47,5.97774]],[23.485,[1388.12,1501.49,5.87556]],[23.547,[1387.92,1501.5,5.76952]],[23.6,[1387.88,1501.51,5.64979]],[23.648,[1387.84,1501.51,5.47067]],[23.711,[1387.77,1501.51,5.05663]],[23.759,[1387.69,1501.51,4.64051]],[23.811,[1387.64,1501.5,4.09066]],[23.859,[1387.6,1501.47,3.53865]],[23.922,[1387.52,1501.44,2.96768]],[23.975,[1387.4,1501.4,2.50156]],[24.025,[1387.2,1501.36,2.05475]],[24.09,[1386.77,1501.31,1.51387]],[24.141,[1386.21,1501.26,1.12743]],[24.207,[1385.24,1501.19,0.744661]],[24.241,[1384.72,1501.15,0.602854]],[24.292,[1383.78,1501.06,0.43589]],[24.341,[1382.91,1500.96,0.309257]],[24.391,[1381.96,1500.82,0.199021]],[24.444,[1380.89,1500.63,0.108295]],[24.493,[1379.51,1500.32,-0.000147343]],[24.544,[1378.2,1499.97,-0.0829139]],[24.596,[1377.07,1499.62,-0.164835]],[24.646,[1376.08,1499.26,-0.239321]],[24.697,[1375.31,1498.96,-0.287217]],[24.747,[1374.72,1498.72,-0.319335]],[24.797,[1374.05,1498.42,-0.342036]],[24.848,[1373.35,1498.09,-0.360998]],[24.898,[1372.6,1497.71,-0.358821]],[24.962,[1371.48,1497.11,-0.331431]],[24.998,[1370.73,1496.67,-0.293638]],[25.064,[1369.03,1495.57,-0.190554]],[25.104,[1368.05,1494.85,-0.128015]],[25.17,[1366.27,1493.39,0.0171542]],[25.219,[1364.96,1492.16,0.144346]],[25.286,[1363.35,1490.41,0.32408]],[25.32,[1362.57,1489.45,0.440816]],[25.373,[1361.54,1488.05,0.59935]],[25.421,[1360.57,1486.55,0.73232]],[25.485,[1359.45,1484.49,0.88656]],[25.535,[1358.76,1482.98,0.942152]],[25.587,[1358.25,1481.68,0.981919]],[25.636,[1357.85,1480.55,1.02903]],[25.687,[1357.56,1479.59,1.08712]],[25.742,[1357.35,1478.83,1.15978]],[25.793,[1357.22,1478.35,1.2174]],[25.852,[1357.13,1477.99,1.27515]],[25.907,[1357.07,1477.76,1.32435]],[25.953,[1357.03,1477.58,1.36448]],[26.019,[1356.96,1477.27,1.4495]],[26.058,[1356.93,1477.16,1.47676]],[26.115,[1356.87,1476.85,1.53422]],[26.158,[1356.81,1476.57,1.58217]],[26.217,[1356.74,1476.17,1.64175]],[26.269,[1356.67,1475.79,1.69385]],[26.332,[1356.62,1475.41,1.74902]],[26.38,[1356.58,1475.15,1.7876]],[26.43,[1356.55,1474.97,1.81898]],[26.495,[1356.54,1474.89,1.83485]],[26.542,[1356.55,1474.94,1.82846]],[26.607,[1356.58,1475.15,1.79945]],[26.658,[1356.61,1475.38,1.77198]],[26.707,[1356.64,1475.62,1.75377]],[26.77,[1356.68,1475.86,1.74141]],[26.818,[1356.7,1475.98,1.7366]],[26.882,[1356.7,1476.03,1.73665]],[26.931,[1356.69,1475.95,1.74589]],[26.994,[1356.63,1475.54,1.77343]],[27.043,[1356.57,1475.07,1.80199]],[27.108,[1356.49,1474.35,1.84258]],[27.155,[1356.44,1473.86,1.86871]],[27.221,[1356.41,1473.38,1.88303]],[27.271,[1356.39,1473.06,1.88453]],[27.333,[1356.37,1472.63,1.87412]],[27.384,[1356.36,1472.19,1.85979]],[27.435,[1356.35,1471.67,1.84976]],[27.484,[1356.36,1471.16,1.84831]],[27.544,[1356.37,1470.55,1.85875]],[27.597,[1356.39,1470.1,1.88048]],[27.66,[1356.41,1469.55,1.91822]],[27.709,[1356.44,1469.2,1.95087]],[27.774,[1356.46,1468.81,1.99888]],[27.81,[1356.47,1468.68,2.02473]],[27.877,[1356.48,1468.53,2.0893]],[27.925,[1356.48,1468.48,2.16254]],[27.992,[1356.46,1468.51,2.30782]],[28.026,[1356.45,1468.56,2.39506]],[28.091,[1356.41,1468.71,2.58344]],[28.14,[1356.39,1468.84,2.71576]],[28.203,[1356.36,1469.01,2.85813]],[28.253,[1356.34,1469.13,2.95073]],[28.319,[1356.33,1469.26,3.05803]],[28.366,[1356.32,1469.31,3.11024]],[28.416,[1356.31,1469.35,3.15819]],[28.468,[1356.31,1469.32,3.20462]],[28.53,[1356.32,1469.14,3.2717]],[28.584,[1356.33,1468.96,3.31508]],[28.643,[1356.35,1468.76,3.35668]],[28.693,[1356.36,1468.64,3.3678]],[28.758,[1356.36,1468.65,3.36295]],[28.806,[1356.35,1468.72,3.35812]],[28.869,[1356.34,1468.89,3.3519]],[28.919,[1356.32,1469.03,3.34866]]]

My code:

[[0,any],[0.0710011,any],[0.103001,any],[0.173,any],[0.219,any],[0.277,any],[0.327,any],[0.378,any],[0.427999,any],[0.479,any],[0.529001,any],[0.613001,any],[0.65,any],[0.710001,any],[0.764999,any],[0.823999,any],[0.884001,any],[0.924,any],[0.983,any],[1.043,any],[1.102,any],[1.162,any],[1.202,any],[1.262,any],[1.302,any],[1.361,any],[1.421,any],[1.461,any],[1.521,any],[1.561,any],[1.621,any],[1.661,any],[1.722,any],[1.761,any],[1.82,any],[1.88,any],[1.92,any],[1.98,any],[2.02,any],[2.079,any],[2.138,any],[2.198,any],[2.238,any],[2.298,any],[2.339,any],[2.399,any],[2.439,any],[2.499,any],[2.539,any],[2.599,any],[2.639,any],[2.699,any],[2.739,any],[2.799,any],[2.839,any],[2.9,any],[2.939,any],[2.999,any],[3.039,any],[3.098,any],[3.158,any],[3.198,any],[3.258,any],[3.298,any],[3.358,any],[3.398,any],[3.458,any],[3.498,any],[3.558,any],[3.598,any],[3.658,any],[3.698,any],[3.756,any],[3.816,any],[3.875,any],[3.934,any],[3.993,any],[4.052,any],[4.112,any],[4.171,any],[4.23,any],[4.289,any],[4.33,any],[4.389,any],[4.448,any],[4.507,any],[4.566,any],[4.625,any],[4.685,any],[4.725,any],[4.784,any],[4.842,any],[4.901,any],[4.96,any],[5.019,any],[5.079,any],[5.136,any],[5.195,any],[5.252,any],[5.312,any],[5.369,any],[5.429,any],[5.486,any],[5.543,any],[5.601,any],[5.661,any],[5.718,any],[5.776,any],[5.834,any],[5.892,any],[5.951,any],[6.008,any],[6.066,any],[6.124,any],[6.183,any],[6.24,any],[6.298,any],[6.355,any],[6.412,any],[6.47,any],[6.527,any],[6.584,any],[6.642,any],[6.699,any],[6.756,any],[6.814,any],[6.871,any],[6.929,any],[6.987,any],[7.044,any],[7.101,any],[7.158,any],[7.216,any],[7.273,any],[7.331,any],[7.388,any],[7.446,any],[7.503,any],[7.56,any],[7.617,any],[7.674,any],[7.732,any],[7.79,any],[7.849,any],[7.907,any],[7.966,any],[8.024,any],[8.081,any],[8.14,any],[8.197,any],[8.257,any],[8.316,any],[8.374,any],[8.433,any],[8.492,any],[8.551,any],[8.611,any],[8.669,any],[8.727,any],[8.785,any],[8.842,any],[8.899,any],[8.956,any],[9.013,any],[9.07,any],[9.127,any],[9.184,any],[9.242,any],[9.298,any],[9.355,any],[9.412,any],[9.469,any],[9.526,any],[9.583,any],[9.64,any],[9.697,any],[9.754,any],[9.811,any],[9.87,any],[9.926,any],[9.983,any],[10.04,any],[10.097,any],[10.154,any],[10.211,any],[10.268,any],[10.325,any],[10.382,any],[10.439,any],[10.496,any],[10.553,any],[10.611,any],[10.667,any],[10.724,any],[10.781,any],[10.838,any],[10.895,any],[10.952,any],[11.009,any],[11.066,any],[11.124,any],[11.18,any],[11.237,any],[11.294,any],[11.351,any],[11.408,any],[11.465,any],[11.522,any],[11.579,any],[11.637,any],[11.693,any],[11.751,any],[11.808,any],[11.865,any],[11.922,any],[11.979,any],[12.036,any],[12.094,any],[12.152,any],[12.209,any],[12.255,any],[12.323,any],[12.361,any],[12.418,any],[12.475,any],[12.532,any],[12.59,any],[12.647,any],[12.704,any],[12.762,any],[12.819,any],[12.876,any],[12.933,any],[12.99,any],[13.047,any],[13.104,any],[13.161,any],[13.218,any],[13.275,any],[13.332,any],[13.389,any],[13.446,any],[13.503,any],[13.561,any],[13.618,any],[13.675,any],[13.732,any],[13.789,any],[13.847,any],[13.904,any],[13.962,any],[14.018,any],[14.076,any],[14.133,any],[14.19,any],[14.247,any],[14.305,any],[14.364,any],[14.423,any],[14.48,any],[14.539,any],[14.598,any],[14.657,any],[14.715,any],[14.774,any],[14.834,any],[14.876,any],[14.934,any],[14.994,any],[15.034,any],[15.094,any],[15.134,any],[15.194,any],[15.253,any],[15.313,any],[15.354,any],[15.413,any],[15.472,any],[15.532,any],[15.572,any],[15.632,any],[15.672,any],[15.732,any],[15.773,any],[15.832,any],[15.892,any],[15.932,any],[15.992,any],[16.033,any],[16.092,any],[16.152,any],[16.211,any],[16.252,any],[16.312,any],[16.352,any],[16.412,any],[16.454,any],[16.513,any],[16.573,any],[16.613,any],[16.673,any],[16.713,any],[16.772,any],[16.832,any],[16.872,any],[16.932,any],[16.991,any],[17.05,any],[17.091,any],[17.15,any],[17.21,any],[17.25,any],[17.309,any],[17.368,any],[17.428,any],[17.468,any],[17.529,any],[17.569,any],[17.626,any],[17.684,any],[17.743,any],[17.802,any],[17.861,any],[17.921,any],[17.961,any],[18.019,any],[18.078,any],[18.136,any],[18.195,any],[18.255,any],[18.313,any],[18.372,any],[18.43,any],[18.49,any],[18.548,any],[18.607,any],[18.666,any],[18.724,any],[18.783,any],[18.842,any],[18.9,any],[18.959,any],[19.018,any],[19.077,any],[19.136,any],[19.195,any],[19.255,any],[19.313,any],[19.373,any],[19.431,any],[19.49,any],[19.55,any],[19.59,any],[19.649,any],[19.708,any],[19.767,any],[19.826,any],[19.886,any],[19.926,any],[19.985,any],[20.046,any],[20.086,any],[20.145,any],[20.205,any],[20.245,any],[20.304,any],[20.363,any],[20.422,any],[20.48,any],[20.539,any],[20.598,any],[20.657,any],[20.717,any],[20.776,any],[20.836,any],[20.876,any],[20.934,any],[20.994,any],[21.053,any],[21.112,any],[21.172,any],[21.229,any],[21.288,any],[21.347,any],[21.405,any],[21.463,any],[21.52,any],[21.579,any],[21.636,any],[21.693,any],[21.751,any],[21.808,any],[21.867,any],[21.924,any],[21.982,any],[22.04,any],[22.098,any],[22.156,any],[22.214,any],[22.271,any],[22.329,any],[22.386,any],[22.443,any],[22.5,any],[22.558,any],[22.616,any],[22.673,any],[22.73,any],[22.787,any],[22.844,any],[22.903,any],[22.959,any],[23.016,any],[23.073,any],[23.13,any],[23.187,any],[23.244,any],[23.301,any],[23.358,any],[23.417,any],[23.473,any],[23.53,any],[23.587,any],[23.644,any],[23.701,any],[23.759,any],[23.815,any],[23.871,any],[23.928,any],[23.985,any],[24.042,any],[24.098,any],[24.155,any],[24.211,any],[24.269,any],[24.325,any],[24.381,any],[24.437,any],[24.492,any],[24.548,any],[24.603,any],[24.657,any],[24.711,any],[24.765,any],[24.82,any],[24.873,any],[24.927,any],[24.981,any],[25.033,any],[25.086,any],[25.139,any],[25.192,any],[25.245,any],[25.299,any],[25.352,any],[25.403,any],[25.456,any],[25.508,any],[25.56,any],[25.611,any],[25.662,any],[25.716,any],[25.767,any],[25.819,any],[25.871,any],[25.923,any],[25.976,any],[26.028,any],[26.079,any],[26.131,any],[26.183,any],[26.235,any],[26.286,any],[26.339,any],[26.39,any],[26.441,any],[26.492,any],[26.544,any],[26.595,any],[26.646,any],[26.698,any],[26.749,any],[26.8,any],[26.851,any],[26.903,any],[26.954,any],[27.005,any],[27.056,any],[27.107,any],[27.158,any],[27.209,any],[27.261,any],[27.311,any],[27.362,any],[27.415,any],[27.466,any],[27.519,any],[27.57,any],[27.624,any],[27.675,any],[27.727,any],[27.779,any],[27.832,any],[27.885,any],[27.938,any],[27.99,any],[28.041,any],[28.094,any],[28.148,any],[28.201,any],[28.254,any],[28.307,any],[28.36,any],[28.414,any],[28.467,any],[28.521,any],[28.576,any],[28.629,any],[28.682,any],[28.736,any],[28.789,any],[28.844,any],[28.896,any],[28.949,any],[29.003,any],[29.057,any],[29.111,any],[29.166,any],[29.219,any],[29.273,any],[29.327,any],[29.381,any],[29.435,any],[29.489,any],[29.546,any],[29.601,any],[29.655,any],[29.712,any],[29.767,any],[29.822,any],[29.877,any],[29.932,any],[29.988,any],[30.044,any],[30.098,any],[30.153,any],[30.209,any],[30.263,any],[30.319,any],[30.373,any],[30.427,any],[30.481,any],[30.536,any],[30.592,any],[30.647,any],[30.701,any],[30.758,any],[30.813,any],[30.869,any],[30.925,any],[30.981,any],[31.038,any],[31.093,any],[31.15,any],[31.207,any],[31.262,any],[31.319,any],[31.376,any],[31.433,any],[31.49,any],[31.547,any],[31.605,any],[31.661,any],[31.718,any],[31.775,any],[31.833,any],[31.891,any],[31.949,any],[32.008,any],[32.067,any],[32.126,any],[32.186,any],[32.226,any],[32.286,any],[32.326,any],[32.386,any],[32.426,any],[32.486,any],[32.527,any],[32.588,any],[32.628,any],[32.687,any],[32.747,any],[32.787,any],[32.847,any],[32.887,any],[32.947,any],[32.987,any],[33.047,any],[33.087,any],[33.147,any],[33.187,any],[33.247,any],[33.287,any],[33.347,any],[33.387,any],[33.448,any],[33.487,any],[33.547,any],[33.587,any],[33.647,any],[33.687,any],[33.747,any],[33.788,any],[33.848,any],[33.888,any],[33.948,any],[33.988,any],[34.049,any],[34.088,any],[34.148,any],[34.188,any],[34.248,any],[34.289,any],[34.348,any],[34.407,any],[34.467,any],[34.507,any],[34.566,any],[34.626,any],[34.666,any],[34.726,any],[34.766,any],[34.827,any],[34.866,any],[34.926,any],[34.966,any],[35.026,any],[35.066,any],[35.126,any],[35.167,any],[35.226,any],[35.286,any],[35.326,any],[35.386,any],[35.426,any],[35.486,any],[35.526,any],[35.586,any],[35.627,any],[35.686,any],[35.746,any],[35.786,any],[35.846,any],[35.886,any],[35.946,any],[35.986,any],[36.047,any],[36.086,any],[36.146,any],[36.186,any],[36.246,any],[36.286,any],[36.346,any],[36.386,any],[36.446,any],[36.486,any],[36.547,any],[36.588,any],[36.649,any],[36.69,any],[36.752,any],[36.792,any],[36.853,any],[36.893,any],[36.955,any],[36.996,any],[37.057,any],[37.098,any],[37.16,any],[37.201,any],[37.262,any],[37.303,any],[37.364,any],[37.404,any],[37.464,any],[37.505,any],[37.567,any],[37.607,any],[37.669,any],[37.711,any],[37.771,any],[37.812,any],[37.874,any],[37.915,any],[37.976,any],[38.016,any],[38.078,any],[38.118,any],[38.178,any],[38.218,any],[38.28,any],[38.322,any],[38.382,any],[38.424,any],[38.485,any],[38.526,any],[38.589,any],[38.63,any],[38.692,any],[38.734,any],[38.797,any],[38.838,any],[38.901,any],[38.943,any],[39.006,any],[39.048,any],[39.111,any],[39.154,any],[39.216,any],[39.258,any],[39.321,any],[39.363,any],[39.426,any],[39.468,any],[39.531,any],[39.573,any],[39.635,any],[39.677,any],[39.74,any],[39.782,any],[39.845,any],[39.886,any],[39.947,any],[39.988,any],[40.05,any],[40.092,any],[40.154,any],[40.195,any],[40.257,any],[40.299,any],[40.361,any],[40.402,any],[40.465,any],[40.507,any],[40.57,any],[40.612,any],[40.674,any],[40.716,any],[40.779,any],[40.821,any],[40.883,any],[40.925,any],[40.988,any],[41.03,any],[41.093,any],[41.136,any],[41.199,any],[41.241,any],[41.305,any],[41.348,any],[41.411,any],[41.453,any],[41.517,any],[41.56,any],[41.623,any],[41.666,any],[41.729,any],[41.772,any],[41.835,any],[41.877,any],[41.94,any],[41.982,any],[42.047,any],[42.089,any],[42.152,any],[42.194,any],[42.257,any],[42.299,any],[42.362,any],[42.404,any],[42.467,any],[42.509,any],[42.572,any],[42.614,any],[42.677,any],[42.719,any],[42.78,any],[42.822,any],[42.885,any],[42.927,any],[42.99,any],[43.032,any],[43.095,any],[43.137,any],[43.2,any],[43.242,any],[43.306,any],[43.347,any],[43.41,any],[43.452,any],[43.515,any],[43.558,any],[43.62,any],[43.662,any],[43.725,any],[43.767,any],[43.831,any],[43.872,any],[43.935,any],[43.976,any],[44.038,any],[44.079,any],[44.141,any],[44.182,any],[44.243,any],[44.284,any],[44.346,any],[44.387,any],[44.448,any],[44.488,any],[44.549,any],[44.59,any],[44.65,any],[44.691,any],[44.751,any],[44.791,any],[44.851,any],[44.892,any],[44.952,any],[44.993,any]]

Edited by [LOL]clan Killer Bee

Share this post


Link to post
Share on other sites

In think you get this sort of code when no function module is placed on the map.

[[0,any],[0.0710011 ect

Share this post


Link to post
Share on other sites

Ok, so for those having trouble grasping the startup as I was, name your unit sLight6 ( or what ever as long as it all mathes in the end ) and set the time in seconds in the below example code ( currently 120 ), place that in a radio trigger's On Act. field so you can call it using the radio, by pressing 001 if you used a radio Alpha trigger.

0 = [sLight6,120] spawn BD_fnc_CaptureScanPattern

You can press escape to stop recording at any time.

Then setup your trigger to none, once, present and none and put this in the On Act, field:

 
0 = [sLight6,call compile loadFile "data\frontGate.txt",true,false] spawn BD_fnc_ScanPattern

Then you pull your hair out because it does not work.

My data BTW:

[[0,[4294.78,7436.08,-0.0127645]],[0.0769958,[4294.78,7436.08,-0.0127645]],[0.223999,[4294.78,7436.08,-0.0127645]],[0.223999,[4294.78,7436.08,-0.0127645]],[0.368996,[4294.78,7436.08,-0.0127645]],[0.368996,[4294.78,7436.08,-0.0127645]],[0.440994,[4294.78,7436.08,-0.0127645]],[0.668999,[4294.78,7436.08,-0.0127645]],[0.668999,[4294.78,7436.08,-0.0127645]],[0.742996,[4294.78,7436.08,-0.0127645]],[0.821999,[4294.78,7436.08,-0.0127645]],[0.980995,[4294.78,7436.08,-0.0127645]],[0.980995,[4294.78,7436.08,-0.0127645]],[1.208,[4294.78,7436.08,-0.0127583]],[1.208,[4294.78,7436.08,-0.0127583]],[1.286,[4294.78,7436.08,-0.0127525]],[1.363,[4294.78,7436.08,-0.0127525]],[1.591,[4294.78,7436.08,-0.0127544]],[1.591,[4294.78,7436.08,-0.0127544]],[1.666,[4294.78,7436.08,-0.0127449]],[1.743,[4294.78,7436.07,-0.0127697]],[1.82,[4294.78,7436.07,-0.0127625]],[1.975,[4294.78,7436.07,-0.0127544]],[1.975,[4294.78,7436.07,-0.0127544]],[2.049,[4294.77,7436.07,-0.0127463]],[2.124,[4294.77,7436.07,-0.0127649]],[2.201,[4294.77,7436.07,-0.0127606]],[2.279,[4294.77,7436.07,-0.0127711]],[2.513,[4294.77,7436.07,-0.0127559]],[2.513,[4294.77,7436.07,-0.0127559]],[2.587,[4294.77,7436.07,-0.012763]],[2.892,[4294.77,7436.07,-0.0127435]],[2.892,[4294.77,7436.07,-0.0127435]],[3.044,[4294.77,7436.07,-0.0127521]],[3.044,[4294.77,7436.07,-0.0127521]],[3.118,[4294.77,7436.07,-0.0127616]],[3.27,[4294.77,7436.07,-0.0127721]],[3.27,[4294.77,7436.07,-0.0127721]],[3.427,[4294.77,7436.07,-0.0127702]],[3.427,[4294.77,7436.07,-0.0127702]],[3.508,[4294.77,7436.07,-0.0127649]],[3.586,[4294.77,7436.07,-0.0127549]],[3.736,[4294.77,7436.07,-0.0127673]],[3.736,[4294.77,7436.07,-0.0127673]],[3.891,[4294.77,7436.07,-0.0127487]],[3.891,[4294.77,7436.07,-0.0127487]],[4.20399,[4294.76,7436.07,-0.0127535]],[4.20399,[4294.76,7436.07,-0.0127535]],[4.363,[4294.76,7436.07,-0.0127535]],[4.363,[4294.76,7436.07,-0.0127535]],[4.521,[4294.76,7436.07,-0.0127535]],[4.521,[4294.76,7436.07,-0.0127535]],[4.755,[4294.76,7436.07,-0.0127568]],[4.755,[4294.76,7436.07,-0.0127568]],[5.06499,[4294.76,7436.07,-0.0127726]],[5.06499,[4294.76,7436.07,-0.0127726]],[5.305,[4294.76,7436.07,-0.0127497]],[5.305,[4294.76,7436.07,-0.0127497]],[5.47,[4294.76,7436.06,-0.0127687]],[5.47,[4294.76,7436.06,-0.0127687]],[5.635,[4294.76,7436.06,-0.0127783]],[5.635,[4294.76,7436.06,-0.0127783]],[5.805,[4294.76,7436.06,-0.0127463]],[5.805,[4294.76,7436.06,-0.0127463]],[5.89,[4294.76,7436.06,-0.0127726]],[6.151,[4294.76,7436.06,-0.0127497]],[6.151,[4294.76,7436.06,-0.0127497]],[6.336,[4294.76,7436.06,-0.012773]],[6.336,[4294.76,7436.06,-0.012773]],[6.531,[4294.76,7436.06,-0.012754]],[6.531,[4294.76,7436.06,-0.012754]],[6.719,[4294.76,7436.06,-0.0127544]],[6.719,[4294.76,7436.06,-0.0127544]],[6.993,[4294.76,7436.05,-0.0127611]],[6.993,[4294.76,7436.05,-0.0127611]],[7.254,[4294.76,7436.05,-0.0127611]],[7.254,[4294.76,7436.05,-0.0127611]],[7.339,[4294.76,7436.05,-0.0127611]],[7.51,[4294.76,7436.05,-0.012753]],[7.51,[4294.76,7436.05,-0.012753]],[7.595,[4294.76,7436.05,-0.012754]],[7.68,[4294.76,7436.05,-0.0127516]],[7.858,[4294.76,7436.05,-0.0127635]],[7.858,[4294.76,7436.05,-0.0127635]],[8.03,[4294.76,7436.05,-0.0127797]],[8.03,[4294.76,7436.05,-0.0127797]],[8.113,[4294.76,7436.05,-0.0127611]],[8.196,[4294.76,7436.05,-0.0127687]],[8.28,[4294.76,7436.05,-0.0127625]],[8.533,[4294.76,7436.05,-0.0127606]],[8.533,[4294.76,7436.05,-0.0127606]],[8.876,[4294.76,7436.05,-0.0127511]],[8.876,[4294.76,7436.05,-0.0127511]],[9.256,[4294.76,7436.04,-0.0127568]],[9.256,[4294.76,7436.04,-0.0127568]],[9.441,[4294.76,7436.04,-0.0127711]],[9.441,[4294.76,7436.04,-0.0127711]],[9.717,[4294.76,7436.04,-0.0127554]],[9.717,[4294.76,7436.04,-0.0127554]],[9.977,[4294.76,7436.04,-0.0127487]],[9.977,[4294.76,7436.04,-0.0127487]],[10.147,[4294.76,7436.04,-0.0127482]],[10.147,[4294.76,7436.04,-0.0127482]],[10.315,[4294.76,7436.04,-0.0127482]],[10.315,[4294.76,7436.04,-0.0127482]],[10.574,[4294.76,7436.04,-0.0127459]],[10.574,[4294.76,7436.04,-0.0127459]],[10.754,[4294.76,7436.04,-0.0127649]],[10.754,[4294.76,7436.04,-0.0127649]],[11.022,[4294.76,7436.04,-0.012764]],[11.022,[4294.76,7436.04,-0.012764]],[11.201,[4294.76,7436.04,-0.012764]],[11.201,[4294.76,7436.04,-0.012764]],[11.378,[4294.76,7436.04,-0.012764]],[11.378,[4294.76,7436.04,-0.012764]],[11.466,[4294.76,7436.04,-0.012764]],[11.637,[4294.76,7436.04,-0.012764]],[11.637,[4294.76,7436.04,-0.012764]],[11.726,[4294.76,7436.04,-0.012764]],[11.816,[4294.76,7436.04,-0.012764]],[12.18,[4294.76,7436.04,-0.0127568]],[12.18,[4294.76,7436.04,-0.0127568]],[12.448,[4294.76,7436.04,-0.0127602]],[12.448,[4294.76,7436.04,-0.0127602]],[12.638,[4294.76,7436.04,-0.0127568]],[12.638,[4294.76,7436.04,-0.0127568]],[12.934,[4294.76,7436.05,-0.0127597]],[12.934,[4294.76,7436.05,-0.0127597]],[13.413,[4294.76,7436.05,-0.0127568]],[13.413,[4294.76,7436.05,-0.0127568]],[13.789,[4294.76,7436.05,-0.0127687]],[13.789,[4294.76,7436.05,-0.0127687]],[13.976,[4294.76,7436.05,-0.0127511]],[13.976,[4294.76,7436.05,-0.0127511]],[14.07,[4294.76,7436.05,-0.0127549]],[14.262,[4294.76,7436.05,-0.0127721]],[14.262,[4294.76,7436.05,-0.0127721]],[14.541,[4294.76,7436.06,-0.0127668]],[14.541,[4294.76,7436.06,-0.0127668]],[14.822,[4294.76,7436.06,-0.0127563]],[14.822,[4294.76,7436.06,-0.0127563]],[15.192,[4294.76,7436.06,-0.012774]],[15.192,[4294.76,7436.06,-0.012774]],[15.488,[4294.76,7436.06,-0.0127606]],[15.488,[4294.76,7436.06,-0.0127606]],[15.788,[4294.76,7436.06,-0.012773]],[15.788,[4294.76,7436.06,-0.012773]],[16.088,[4294.76,7436.06,-0.012773]],[16.088,[4294.76,7436.06,-0.012773]],[16.288,[4294.76,7436.06,-0.0127764]],[16.288,[4294.76,7436.06,-0.0127764]],[16.488,[4294.76,7436.06,-0.0127511]],[16.488,[4294.76,7436.06,-0.0127511]],[16.888,[4294.76,7436.06,-0.0127635]],[16.888,[4294.76,7436.06,-0.0127635]],[17.188,[4294.76,7436.07,-0.0127611]],[17.188,[4294.76,7436.07,-0.0127611]],[17.488,[4294.76,7436.07,-0.0127611]],[17.488,[4294.76,7436.07,-0.0127611]],[17.888,[4294.77,7436.07,-0.0127707]],[17.888,[4294.77,7436.07,-0.0127707]],[18.188,[4294.77,7436.07,-0.012754]],[18.188,[4294.77,7436.07,-0.012754]],[18.588,[4294.77,7436.07,-0.0127654]],[18.588,[4294.77,7436.07,-0.0127654]],[18.988,[4294.77,7436.07,-0.012754]],[18.988,[4294.77,7436.07,-0.012754]],[19.488,[4294.77,7436.07,-0.0127597]],[19.488,[4294.77,7436.07,-0.0127597]],[19.888,[4294.77,7436.07,-0.0127573]],[19.888,[4294.77,7436.07,-0.0127573]],[20.188,[4294.77,7436.07,-0.0127449]],[20.188,[4294.77,7436.07,-0.0127449]],[20.588,[4294.78,7436.07,-0.0127573]],[20.588,[4294.78,7436.07,-0.0127573]],[20.988,[4294.78,7436.08,-0.0127478]],[20.988,[4294.78,7436.08,-0.0127478]],[21.388,[4294.78,7436.08,-0.0127587]],[21.388,[4294.78,7436.08,-0.0127587]],[21.888,[4294.78,7436.08,-0.012753]],[21.888,[4294.78,7436.08,-0.012753]],[22.388,[4294.78,7436.08,-0.0127587]],[22.388,[4294.78,7436.08,-0.0127587]],[22.888,[4294.78,7436.08,-0.0127621]],[22.888,[4294.78,7436.08,-0.0127621]],[23.388,[4294.78,7436.08,-0.0127621]],[23.388,[4294.78,7436.08,-0.0127621]]]

Edited by callihn

Share this post


Link to post
Share on other sites

F2k Sel brings up a valid point. Make sure you have placed a Functions module in your mission before you begin recording.

Share this post


Link to post
Share on other sites

Once I got the search light recorded and playing correctly I like to set up my searchlight this way.

Place an empty searchlight named slight

Place 3 grouped soldiers next to it and give the leader a getin waypoint placed over the searchlight.

Then place a trigger and set up as follows

cond

!alive gunner slight  

On Deac

0 = [sLight,call compile loadFile "sLight.txt",true,false,[Mgun]] spawn BD_fnc_ScanPattern

When one Searchlight operator dies another takes his place and the light keeps searching until they are all dead.

Share this post


Link to post
Share on other sites

I get nothing with your data either, any chance you can upload your mission?

Share this post


Link to post
Share on other sites
In think you get this sort of code when no function module is placed on the map.

[[0,any],[0.0710011 ect

Yep that is it with the ANY in it.

Now the good code I wonder how to get it !:rolleyes:

I get nothing with your data either, any chance you can upload your mission?

I asume you mean callihn ?

Share this post


Link to post
Share on other sites

I did mean callihn but I could have a look at what you have if you want.

Share this post


Link to post
Share on other sites
I get nothing with your data either, any chance you can upload your mission?

I've put it on the unit mounting the searchlight and in the searchlight, I've used my data and the data supplied and still nothing.

Here is an example I put together:

http://www.mediafire.com/?6sh3har1nbdc5ob

I noticed there are some errors, to start with none of the variables are set private, also _lastPlayedFrame is never used and _sleep is used before being assigned a value, according to Squint. Though none of those appear to be the problem from best I can tell.

clan Killer Bee;1744483']Yep that is it with the ANY in it.

Now the good code I wonder how to get it !:rolleyes:

Try this:

http://forums.bistudio.com/showpost.php?p=1744324&postcount=10

Edited by callihn

Share this post


Link to post
Share on other sites

Your recording is fine your trigger isn't going off, put it on a radio call.

And set the data to the searchlight not the man.

Edited by F2k Sel

Share this post


Link to post
Share on other sites

Thanks, I'll try that except I can't use a manned light because I do not know how to set the gunner to allowdamage false and the gunner can be killed, that is why I set it on the gunner and move the gunner into the light, so both the gunner and the light have allowdamage false set.

Share this post


Link to post
Share on other sites
Thanks, I'll try that except I can't use a manned light because I do not know how to set the gunner to allowdamage false and the gunner can be killed, that is why I set it on the gunner and move the gunner into the light, so both the gunner and the light have allowdamage false set.

I changed my reply as I didn't check something first.

Gunner slight allowdamage false;slight allowdamage false

I did jump the gun a bit without fully exploring what you did, I'm in a bit of a rush now to get out.

To make the mission you Posted work all you need to do is set the trigger to anyone not present.

.

Edited by F2k Sel

Share this post


Link to post
Share on other sites
I changed my reply as I didn't check something first.

Gunner slight allowdamage false;slight allowdamage false

I did jump the gun a bit without fully exploring what you did, I'm in a bit of a rush now to get out.

To make the mission you Posted work all you need to do is set the trigger to anyone not present.

.

Thanks, I tried it with a manned searchlight and got the same results, I changed the trigger as you suggested and the gunner turns left 90 degrees and stops regardless of the data file used.

Share this post


Link to post
Share on other sites

I'll have to check it out further when I get back in an hour or two, I thought as it was turning that's how you'd recorded it.

Share this post


Link to post
Share on other sites
I'll have to check it out further when I get back in an hour or two, I thought as it was turning that's how you'd recorded it.

Nope, just try the demo one or the circle and see, it's all the same.

Weird how his example works though, but I noticed the light is unmanned from the start though it has been set to bluefor, which to my knowledge can only happen if you edit the mission.sqm directly, I wonder if that has anything to do with it, why and why it was never mentioned if it is a factor.

Share this post


Link to post
Share on other sites

See it this works for you http://www.sendspace.com/file/o5wrz8

All I did was set the searchlight playable (slight6) and moved into his position, I record the data only a few seconds for testing and then when prompted copy and paste the data to notepad.

Save the data in this case light.txt

Now this is really strange and it happened last time with my own test.

When I place the recorded data into the data folder the game can't see the recorded data.

I have to place it in the main folder and change the code accordingly

Anyway it's the only way I can get it to work..

Radio Alpha to record

Radio Bravo to Play back.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×