Home   Help Search Login Register  

Author Topic: changing groups  (Read 857 times)

0 Members and 1 Guest are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
changing groups
« on: 16 Jul 2006, 06:53:06 »
Hey, I havent played ofp in so long that now im a complete noob. but anyways I cant figure out how to remove the player from the group hes in, put him in his own group, then take 2 other guys out of a group and add them to the players new group. I know it uses join grp null, and join grp player, but I dont know in which order.

help me please.

thanks

Offline Cheetah

  • Former Staff
  • ****
Re: changing groups
« Reply #1 on: 16 Jul 2006, 10:35:13 »
Remove the player from his group (where player is the name of the player's unit):
Code: [Select]
[player] join GrpNull
If you want to give a name to the new group:
Code: [Select]
alpha = group player
Let two soldiers leave their group:
Code: [Select]
[soldier1,soldier2] join GrpNull
Let the two soldiers join their new group.
Code: [Select]
[soldier1,soldier2] join alpha
Untested, but this should do it.

Code: [Select]
[player] join GrpNull
alpha = group player
[soldier1,soldier2] join GrpNull
[soldier1,soldier2] join alpha
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re: changing groups
« Reply #2 on: 16 Jul 2006, 21:50:29 »
It Works!

thanks
« Last Edit: 16 Jul 2006, 21:52:19 by penguinman »