after playing starcraft pong, i decided to think about making a similar map but with an actual horizontal paddle instead of a single unit. i thought about using an observer as the controllable unit with maybe 5 marines underneath in a horizontal line which would act as the paddle like this.
well, it could be horizontal or vertical whichever is more convenient.
horizontal paddle= M M M M M and the observer is on top of the middle marine
vertical paddle=
M
M
M and the observer in on top of midle marine
M
M
and whenever the observer moved, the marines would also follow the observer always in this form. could someone please help me on how this can be done? thanks
I'll give you an example for horizontal. First create two parallel horizontal strips of land with one strip of tiles separating the two. Second pick your center unit that the human will control, preferably a land unit such as a zergling.
On the inner strip of land make a sequence of burrowed hero lings owned by a comp, I would place a line of them one on each tile (use snap to grid)
On the outer strip of land place the zergling owned by the player.
Create this trigger.
Conditions:
-Always
Actions:
-Remove all powerups owned by current player at anywhere
-Center location 7x6 on zergling owned by current player
*Center location ‘place powerup’ on devouring one owned by player 7
*Give one devouring one owned by p7 at ‘7x6’ to player 8 (comp)
*Create one powerup owned by current player at ‘place powerup’
(make 7 total copies of the 3 actions listed with stars)
-Give all devouring one owned by p8 at '7x6' to player 7
-Preserve trigger.
The location height must be 6 so it will reach up vertically to the devouring ones
The width of the location determines the width of the paddle. If your location is 7 tiles wide you will need repeat the stared actions 7 times or you will have a placeable error if you do it too much or the paddle will not be centered (off to the left).
Well good luck, I have never actually used this trigger or anything (just made it up). Hope it works out for you.
PS. You don’t have a mapmaking level declared but what your doing is on an advanced or average/advanced level