Jump to content
Sign in to follow this  
lucilk

Coin problem

Recommended Posts

I got another problem, i have a script that will create a coin module, in the script i declare that this coin should be used by only one unit named "lkcom".

this works fine in singleplayer and multiplayer, respawn works, everything is like a charm but.... i have 3 more COIN modules that have the rule "west" so all west units should acces it.

Now in singleplayer everything works fine, in multiplayer there is a problem:

if i play as "lkcom" (i am the server) unit everything works fine, if a client takes lkcom unit the COIN with the "lkcom" rule works but the other 3 with "west" rule don't work neither for lkcom unit or any west side units.

It is kinda confusing so please read below:

---Singleplayer---
COIN1 setvariable ["BIS_COIN_rules",[lkcom]]; -> It works

COIN2 setvariable ["BIS_COIN_rules",[west]]; -> It works
COIN3 setvariable ["BIS_COIN_rules",[west]]; -> It works 
COIN4 setvariable ["BIS_COIN_rules",[west]]; -> It works
-----------------

---Multiplayer--i am server--i play as "lkcom" unit
COIN1 setvariable ["BIS_COIN_rules",[lkcom]]; -> It works

COIN2 setvariable ["BIS_COIN_rules",[west]]; -> It works only for me
COIN3 setvariable ["BIS_COIN_rules",[west]]; -> It works only for me
COIN4 setvariable ["BIS_COIN_rules",[west]]; -> It works only for me
-----------------------------------------------


---Multiplayer--i am server--another client plays as "lkcom" unit
COIN1 setvariable ["BIS_COIN_rules",[lkcom]]; -> It works

COIN2 setvariable ["BIS_COIN_rules",[west]]; -> doesn't work at all
COIN3 setvariable ["BIS_COIN_rules",[west]]; -> doesn't work at all 
COIN4 setvariable ["BIS_COIN_rules",[west]]; -> doesn't work at all
------------------------------------------------------------

Please help me

Edited by lucilk

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  

×