OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Mr_Centipede on 29 Jul 2009, 05:51:39

Title: CENT_HCS2 - Hybrid Commanding System
Post by: Mr_Centipede on 29 Jul 2009, 05:51:39
Hello all, may I present you with my small script (and test mission) Hybrid Command System.

What it does is that you have a squad, or a large group of soldiers, Then at anytime, you can split your team member from your main group and order them around in High Command mode.

How to use: When you start the test mission, at any time, select your team then press 0-0-1 to split them up. Now you have one group to be commanded in High Command. Repeat process to have another group split up.

To regroup them back, use action menu. It will regroup all split groups to your main group.

My only problem right now is that to split group you cant use action menu as the command menu will come up, so I had to use the radio trigger.

This script is not yet battle tested, so I dont know yet how it will perform under fire
Download link:
http://rapidshare.com/files/260600997/Cent_HCS.utes.rar.html

Special thanks to Kremator for bugging me and testing this :)
Title: Re: CENT_HCS2 - Hybrid Commanding System
Post by: Kremator on 29 Jul 2009, 11:19:00
hehe anytime mate ... I can bug you anytime you want :)

Great little script.
Title: Re: CENT_HCS2 - Hybrid Commanding System
Post by: mikey on 29 Jul 2009, 11:47:01
Awesome work.

How about using a keyEventHandler to chop groups?
Title: Re: CENT_HCS2 - Hybrid Commanding System
Post by: Mr_Centipede on 29 Jul 2009, 13:02:04
what is keyEventHandler? didnt found anything on the comref or the biki...
Title: Re: CENT_HCS2 - Hybrid Commanding System
Post by: mikey on 29 Jul 2009, 13:12:30
check displayAddEventHandler (http://community.bistudio.com/wiki/displayAddEventHandler) and this (http://community.bistudio.com/wiki/User_Interface_Event_Handlers#Script_defined_events). Basically it allows you to be able to capture a keypress which you can use to call the function you use to chop your group. That way you only need 1 key to press instead of 3 (0-0-1)
Title: Re: CENT_HCS2 - Hybrid Commanding System
Post by: Mr_Centipede on 29 Jul 2009, 13:20:33
Okay, thanks mikey. Thats alot of info needed to digest. Will look into it, thanks again :)
Title: Re: CENT_HCS2 - Hybrid Commanding System
Post by: Kremator on 29 Jul 2009, 13:44:07
Now this is sounding EVEN better !

Ready to test when you are Mr Centipede  :yes:
Title: Re: CENT_HCS2 - Hybrid Commanding System
Post by: CaptainBravo on 12 Aug 2009, 12:32:08
works great in SP. However in MP (same mission)  it just stopped working after the group joined my group. I could not get them to their original HC group. Is it supposed to work in MP?

Still, great script.