Jump to content
Sign in to follow this  
Ford555

easy question, or so I think ..

Recommended Posts

about isDedicated:

in a multiplayer mission, if I do:

if (isDedicated) then {

removeUniform unit

}

unit being someone soldier object.

The question is:

Are all the machines of the players seeing soldier out of uniform? or i have to do it in all machines except isServer and isDedicated?¿

sorry about my english.

What i want to do is if any soldier dies, then remove uniform and add other uniform and all machines can see the new uniform.

thanks a lot!

Share this post


Link to post
Share on other sites

I response myself

it seems only some actions are transfered thought the net. So i have to put it on init.sqf and with if(isPlayer)

Share this post


Link to post
Share on other sites

You seem to be right, however it's worth mentioning that this is a bug and not your fault, removeUniform should be global, not local.

However, since you already got in contact with the local/global difference, i recommend you to read yourself deeper into locality in ArmA. :)

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  

×