Jump to content
Sign in to follow this  
James222

In multiplayer (dedicated server) mission, how do I run ExecVM on all players?

Recommended Posts

I know how to do it in coop missions with predefined units, by adding stuff to the units init line but how would I do it with init.sqf, so that it runs on all clients.

I want to run the following on every single new client, how would I do it?

nul = [] execVM "myscript.sqf";

Edited by James222

Share this post


Link to post
Share on other sites

Anything in init.sqf, placed on the map at game start (init fields) or run from triggers will happen on all clients. There are other methods as well, such as Multiplayer Framework or the mod CBA which have functions for that as well, but those are the basic methods.

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  

×