Try looking into the brood lord and the carrier. They have units attached to them and behave like a squad. Mostly the carrier. I believe somebody copied the carrier and modified it so it was 5 marines in a squad, but I dont know where it was...
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
To post a comment, please login or register a new account.
Hello everybody I'm just new to these forums and to map editing overall.
so I decided to make a map based on tactics similar to advance wars (omg you remember that game? I used to play it when I was 13 years old)
so I decided to start off with little and easy things:
the thing is: I need to have squads of 5 marines to:
The whole point is to have them all 5 selected if I select only 1 of them.
I tried things already, with triggers:
Events: map initialitzation
local variables: I set one variable to each of the 5 marines I had on the terrain
Conditions: none
Actions: if: (Marine 1 is selected by Player 1) == True
maybe this is the problem, there is no "raw" condition, only comparisons, and comparisons makes things complicated.
Then:
Unit selection - Select Marine 1 for Player 1
Unit Selection - Select Marine 2 for Player 1
Unit Selection - Select Marine 3 for Player 1
etc.. until Marine 5
I know these triggers are a bit harsh and unconventional, I'm just trying to get one thing to work. Need some help over there
@Wertoret: Go
The use of actors cannot resolve your problem ?
One unit, but 5 marines are shown by unit. You can split your unit by 5 actors, and control these actors with events.
So yeah I'm just reading the actors tutorial.
really, I need somehow a diagram to explain me better how actors works
but by the time being, i'd just stick to read tutorials...
The event should be Unit is Selected (or perhaps it's Unit is Clicked), not Map Initialization.
Kanaru solved your problem :P
So with actors, it will be that :
After that, in triggers :
With a good triggering, these 4 triggers will be same for each squad unit.
It's a way, but the first way you choose (Triggering) is good also. I will finish my school test tomorrow (i'm in GWT+1) and try squads units.
Try looking into the brood lord and the carrier. They have units attached to them and behave like a squad. Mostly the carrier. I believe somebody copied the carrier and modified it so it was 5 marines in a squad, but I dont know where it was...