View Full Version : Locking one side to no-join?
Dec 14 2006, 14:26
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??
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.
Dec 16 2006, 16:21
afaik, admin cannot drag&drop members and lock them in like in OFP?
Dec 16 2006, 16:55
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
? (name s2) in racs :goto "check3"
s2 setdammage 1
? (name s3) in racs :goto "check4"
s3 setdammage 1
? (name s4) in racs : goto "end"
s4 setdammage 1
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.
Dec 18 2006, 22:17
Okay I'll try this! Thanks Deanobeano!
One more thing: is it possible to check IDs instead of names?
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.