Jump to content
Sign in to follow this  
icebreakr

Locking one side to no-join?

Recommended Posts

Is that possible via script or commands? I would like to have "RACS" available only to certain members at the start of the mission and enable respawn for all other players in their "base". Any tips??

Share this post


Link to post
Share on other sites

You cant possible do that, but that would be the job of the admin to sort out the teams, he can lock members into certain slots.

Share this post


Link to post
Share on other sites

afaik, admin cannot drag&drop members and lock them in like in OFP?

Share this post


Link to post
Share on other sites

hmm i dont know how far ya wanna go with it.

but heres an old script i used ,it was originally for what info was given over radio, for a group of people.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">racs = ["IceBreakr","mate2","mate3","mate4"]

;the name above should be exact name player joins with and caps sensitive too

? (name s1) in racs :goto "check2"

;s1 is the name of the racs soldier in editor

s1 setdammage 1

#check2

? (name s2) in racs :goto "check3"

s2 setdammage 1

#check3

? (name s3) in racs :goto "check4"

s3 setdammage 1

#check4

? (name s4) in racs : goto "end"

s4 setdammage 1

#end

exit

i tried here to change for you. put ya mates player names instead of mate1 etc.

you can initial it in trigger where racs spawn call it rac.sqs and have a repeat ,independant trigger at spawn/start

call racs ,s1,s2,s3, etc....

i havent time to really test now, but have ago with your own name.

? (name s4) < this is corrrect ,do not change the word name .to anything just leave all of these as they are.

edit, you may have to add a "" or the units ainame for ai to be compatible, i am not massive on mp but i am sure youcan try it.

Share this post


Link to post
Share on other sites

Okay I'll try this! Thanks Deanobeano!

One more thing: is it possible to check IDs instead of names?

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  

×