Jump to content
wuestenkamm

execVM for all Vehicles/units

Recommended Posts

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

Why executing a script multiple times instead executing it once for multiple vehicles?

Share this post


Link to post
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×