Jump to content
Sign in to follow this  
frosties

Restrict certain roles?

Recommended Posts

Hello,

i was wondering if it would be possible to restrict certain roles for only approved players?

Thinking about adding some soldiers with different uniforms then the other and have them only availible for squad members.

How can i do this?

Share this post


Link to post
Share on other sites

bumping this.

Can anybody assist me with this?

Tried to search but only find info about restricting vehicles...

Share this post


Link to post
Share on other sites

Hello,

Your editing a mission for your squad?

And have a public server where you only want your squad members to have certain roles, is that the idea?

If so then I beleive you would have to script this, and make it so that a role uses a squad member's name

that way when a person gets in be it a public player if thats the idea, then the role is like locked to them,

same would go for squad members.

Here are a list of scripting commands to use as a reference:

http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2

A thought came to mind about this idea, is you could do like in the mission evolution blue

where you had to be a certain rank to have access to vehicles, and weapons, and if you

were lets say a private and tried to get into a vehicle you were not qualified to operate (dont have required rank)

then you would automatically be ejected from the vehicle and get a message saying

your rank is this and required rank is this.

I think that would work for you for what you have in mind. Instead of rank

you could do assign unitname or something like that.

Another idea is to look through the Armaholic script section, even

templates and get ideas, from premade stuff:

http://www.armaholic.com/list.php?c=arma_files_editing

Theres also OFPEC

http://www.ofpec.com/forum/index.php

thats a good place to ask about how to do something for scripts,

and stuff for what your trying to do.

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  

×