PiCkstix
New Member
- Reaction score
- 18
What is a group command system?
A system that you can use where one unit can control many others at once. For example, you order one unit to move to a point, with this, you order a whole group to do so without having to select every unit that you want to move.
How does it work?
Well, it basically works off abilities and Unit Groups. At the beginning you will set your unit group and with the abilities you can order the around. What IS important though is that you do set this unit group correctly, otherwise it can stuff it up completely.
What can I use it for?
Maps that use:
• Team groups
• A group of units that is parted together as one
• Commanding units without hassle
Why would I want to use it?
It can be useful in some maps, while absolutely useless in others. For example, if this were to be used in an AoS, there would be no point. But, if this was used in a map such as "Footman Frenzy" or maps of such, it would be much easier to play. It can also be useful as such because Warcraft restricts you to only selecting about 15 units at one time.
How do I use it?
Simple! Import it from the map attached.
Attached will be:
• Triggers
• Variables (please make sure that if you have "Automatically create unknown variables while pasting trigger data" checked, PLEASE MAKE SURE THAT YOU SET ALL ARRAYS TO THE AMOUNT OF PLAYERS IN THE MAP.
Code
(*Optional, if you use this, please create an ability such as Bloodlust or Berserk)
Setting Variables:
OR / AND
Have fun with it...
A system that you can use where one unit can control many others at once. For example, you order one unit to move to a point, with this, you order a whole group to do so without having to select every unit that you want to move.
How does it work?
Well, it basically works off abilities and Unit Groups. At the beginning you will set your unit group and with the abilities you can order the around. What IS important though is that you do set this unit group correctly, otherwise it can stuff it up completely.
What can I use it for?
Maps that use:
• Team groups
• A group of units that is parted together as one
• Commanding units without hassle
Why would I want to use it?
It can be useful in some maps, while absolutely useless in others. For example, if this were to be used in an AoS, there would be no point. But, if this was used in a map such as "Footman Frenzy" or maps of such, it would be much easier to play. It can also be useful as such because Warcraft restricts you to only selecting about 15 units at one time.
How do I use it?
Simple! Import it from the map attached.
Attached will be:
• Triggers
• Variables (please make sure that if you have "Automatically create unknown variables while pasting trigger data" checked, PLEASE MAKE SURE THAT YOU SET ALL ARRAYS TO THE AMOUNT OF PLAYERS IN THE MAP.
Code
Code:
Move
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Move
Actions
Set P_Move[(Player number of (Owner of (Triggering unit)))] = (Target point of ability being cast)
Unit Group - Pick every unit in UG_Troops[(Player number of (Owner of (Triggering unit)))] and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Move To P_Move[(Player number of (Owner of (Triggering unit)))]
Code:
AttackMove
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Attack-Move
Actions
Set P_MoveAttack[(Player number of (Owner of (Triggering unit)))] = (Target point of ability being cast)
Unit Group - Pick every unit in UG_Troops[(Player number of (Owner of (Triggering unit)))] and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To P_MoveAttack[(Player number of (Owner of (Triggering unit)))]
Code:
HoldGround
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Hold Ground
Actions
Unit Group - Pick every unit in UG_Troops[(Player number of (Owner of (Triggering unit)))] and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Stop
Code:
Charge
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Charge
Actions
Set P_Charge[(Player number of (Owner of (Triggering unit)))] = (Target point of ability being cast)
Unit Group - Pick every unit in UG_Troops[(Player number of (Owner of (Triggering unit)))] and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Orc Troll Berserker - Berserk
Unit - Order (Picked unit) to Move To P_Charge[(Player number of (Owner of (Triggering unit)))]
Code:
Attack
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Attack
Actions
Set U_Attack[(Player number of (Owner of (Triggering unit)))] = (Target unit of ability being cast)
Unit Group - Pick every unit in UG_Troops[(Player number of (Owner of (Triggering unit)))] and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack U_Attack[(Player number of (Owner of (Triggering unit)))]
Setting Variables:
Code:
AddUnit
Events
Unit - A unit enters (Playable map area)
Conditions
Actions
Unit Group - Add (Triggering unit) to UG_Troops[(Player number of (Owner of (Triggering unit)))]
OR / AND
Code:
AddUnit2
Events
Player - Player 1 (Red) skips a cinematic sequence
Player - Player 2 (Blue) skips a cinematic sequence
Player - Player 3 (Teal) skips a cinematic sequence
Player - Player 4 (Purple) skips a cinematic sequence
Player - Player 5 (Yellow) skips a cinematic sequence
Player - Player 6 (Orange) skips a cinematic sequence
Player - Player 7 (Green) skips a cinematic sequence
Player - Player 8 (Pink) skips a cinematic sequence
Conditions
Actions
Set UG_Troops[(Player number of (Triggering player))] = (Units currently selected by (Triggering player))
Have fun with it...