wuestenkamm 10 Posted March 4, 2016 Hey Guys, I'm trying to write my own Blue Force Tracking script. In order to get it running, I need all placed vehicles to execute a .sqf file. Can someone help me with this? I think it should look something like this: {_null = [_this] execVM "fahrzeugtyp.sqf"} forEach vehicles; but of course it doesn't work. I hope someone here can help me with this, I'm stuck for a few days by now. Best regards, wuestenkamm Share this post Link to post Share on other sites
jshock 513 Posted March 4, 2016 Replace "_this" with "_x" 1 Share this post Link to post Share on other sites
wuestenkamm 10 Posted March 7, 2016 Thank you, it's working fine. Share this post Link to post Share on other sites
davidoss 552 Posted March 7, 2016 Why executing a script multiple times instead executing it once for multiple vehicles? Share this post Link to post Share on other sites
wuestenkamm 10 Posted March 8, 2016 To be honest, my scripting skills are very limited. Like this, I have scripts running on each Client, creating local 3D markers for each vehicle. Is there any advantage in running only one script for all vehicles? I guess I would have to rethink some parts ; ) Share this post Link to post Share on other sites
barbolani 198 Posted March 8, 2016 Nah, don't worry. Share this post Link to post Share on other sites