Home   Help Search Login Register  

Author Topic: The Contrary Command Of "Join" One...  (Read 479 times)

0 Members and 1 Guest are viewing this topic.

BaKaRa

  • Guest
The Contrary Command Of "Join" One...
« on: 29 May 2003, 18:54:50 »
Hi All!
I Have To Unjoin A Unit For A Moment For Doing A Special Action. Once This Action is Done, I Have To ReJoin The Same Group... But I Have Only The Join Command, What's the one for " UnJoin " Or Could I " UnJoin " With The " Join " Command... I Don't Thnk So But Perhaps...
I Hope I Am Understandable... ( Not Sure If This word exist  ::) )

ARVN Marvin

  • Guest
Re:The Contrary Command Of "Join" One...
« Reply #1 on: 29 May 2003, 19:05:03 »
Howdy  :wave:

I'm not 100% sure of the syntax but I believe the command to use is "grpNull"

I'm thinking:

PlayerName = grpNull

or perhaps:

PlayerName join grpNull  

U could give it a shot and see...  Forum Peeps, any thoughts?

 :hmm:
« Last Edit: 29 May 2003, 19:06:31 by ARVN Marvin »

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:The Contrary Command Of "Join" One...
« Reply #2 on: 29 May 2003, 19:06:43 »
It would have to be ARVN's second suggestion, since you can't set a unit (playername, in his example) to be equal to a group (grpNull, in this case).
Ranger

BaKaRa

  • Guest
Re:The Contrary Command Of "Join" One...
« Reply #3 on: 29 May 2003, 19:10:15 »
Mmmmmmmmmmm
Roger Guys, I'll Try
Keep In Touch  :-*

BaKaRa

  • Guest
The Contrary Command Of "Join" One...
« Reply #4 on: 29 May 2003, 19:58:24 »
Thanks Guys
So The Solution Is  ;) :

1) Set A Name For The Group ( Put In Init.sqs )
Group X == Group Leader A

X Is The Name Of The Group
A Is The Name Of The Group Leader




2) [UnitName] Join GrpNull
UnitName Is The Name Of The Unit  :o

This Line Unassign The Unit From The Group




3) [UnitName] Join X

This Line Assign The Unit From The Group Named X

You Could Add Unlimited Unit Like That:
[Unit1,Unit2,Unit3,Unit4,etc...] Join GrpNull

It's Very Simple  ;D