Jump to content
graylyn

Disable Artillery Computer

Recommended Posts

I am currently running a multiplayer mission file (Exile) and am trying to disable the artillery computer for assembled mortars ingame, if not, the entire server.

I know enableEngineArtillery false; does it, however I am not sure exactly where to put it.

Can anyone assist?

Share this post


Link to post
Share on other sites

See this topic about that.

For general effect (on all artillery/mortars) you can write your code in init.sqf or initPlayerLocal.sqf

If you want to play with some specific artillery or mortar, let's add some code in init field of the asset ( this will be the reference here).

 

 

Share this post


Link to post
Share on other sites

if you want to disable it for certain assets only, you need to use the “getinman” event to remove, and the “getoutman”/killed/respawn events to re-add

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

×