Author: galzohar
Author Website:

Requirements: No addons required

Version: 1.0

Short description: This very simple script allows players to join any existing group that has players in it by using the teamswitch key and then action menu to choose which group to join.

Date: 2011-06-14 21:16


Comments: (0)
Rating:



 





Group merge script

by
galzohar


Description:
This very simple script allows players to join any existing group that has players in it by using the teamswitch key and then action menu to choose which group to join.


Installation / Usage:
How to Implement in Mission:
Place the 2 scripts in the mission folder. Anywhere in mission (ex: in init.sqf) execute the following code:
if (!isDedicated) then
{
	waitUntil {!isNull player};
	sidePlayer = side player;
	execvm "groupmerge.sqf";
};

How to Use as Player:
Hit the "teamswitch" key (default 'T'), then use action menu (default mousewheel) to choose which group to join. To cancel hit the "teamswitch" key again.


Known Issues:
Arma 2 is not a big fan of having units switch groups and will occasionally mess up unit numbers and role selection screen.

Also, group list is created when you hit the "teamswitch" key, so if new groups are created after you hit the "teamswitch" key they will not appear in the action menu until you hit the "teamswitch" key again (twice, once to "cancel" and 2nd to add the actions again).


Disclaimer:
Feel free to use/edit this script for whatever. Just please give proper credit if you copy stuff from it.


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags