SceptreOfficial / Simplex-Support-Services

Support system for Arma 3
Other
26 stars 12 forks source link

Need help #34

Closed korda1 closed 4 years ago

korda1 commented 4 years ago

Hello, on steam you mentioned that if we needed help we could contact you. Precisely I will need help on how to configure so that only one person has access to the simplex mod command? Without other people having access. Your help is welcome. thank you in advance. ( Sorry for my English )

SceptreOfficial commented 4 years ago

Put this in the Access Condition field in the support module: player getVariable ["canUseSSS",false]

Then put this in the player init fields that you want to have access: this setVariable ["canUseSSS",true,true];

Edit: To explain what this does...

The 1st part is telling the support to only give access to players who have a variable "canUseSSS" set true on their unit/object.

The 2nd part assigns that variable to the player(s).

Edit: You can also use a list of player variable names, similar to the old method: player in [p1,p2,p3,p4]

SceptreOfficial commented 4 years ago

Closing this issue since the question was answered. If you have more questions, add me via Steam and we can continue a conversation through chat.