PDA

View Full Version : Locking one side to no-join?



IceBreakr
Dec 14 2006, 13: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??

MattXR
Dec 14 2006, 17:27
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.

IceBreakr
Dec 16 2006, 15:21
afaik, admin cannot drag&drop members and lock them in like in OFP?

deanosbeano
Dec 16 2006, 15: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 = &#91;&#34;IceBreakr&#34;,&#34;mate2&#34;,&#34;mate3&#34;,&#34;mate4&#34;&#93;
;the name above should be exact name player joins with and caps sensitive too
? &#40;name s1&#41; in racs &#58;goto &#34;check2&#34;
;s1 is the name of the racs soldier in editor
s1 setdammage 1
#check2
? &#40;name s2&#41; in racs &#58;goto &#34;check3&#34;
s2 setdammage 1
#check3
? &#40;name s3&#41; in racs &#58;goto &#34;check4&#34;
s3 setdammage 1
#check4
? &#40;name s4&#41; in racs &#58; goto &#34;end&#34;
s4 setdammage 1
#end
exit[/QUOTE]
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.

IceBreakr
Dec 18 2006, 21:17
Okay I&#39;ll try this&#33; Thanks Deanobeano&#33;

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