Footmen vs Grunts-type triggers

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Footmen vs Grunts-type triggers

Post by TechGeek001 »

Hi all, just a few more trigger questions.
I'm making a map very similar to Footmen vs Grunts, and need the three basic triggers they use.
The first is the one where you research a unit, and then it spawns.
The next is incremental gold increases for all players
The third is the send all command, but instead of sending all units, I only want it to send all melee units that I'm working on now.
I'd much enjoy them being in GUI because I'm a JASS-N00b.
I also really have no starting point for any of these, because, quite frankly, I'm still a moron.
heh.
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Footmen vs Grunts-type triggers

Post by tru_power22 »

With the send all command, go pick all units in unit group (unit group = to all units of type whatever)
then move units to where ever.

Hope this helps.
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Footmen vs Grunts-type triggers

Post by TechGeek001 »

tru_power22 wrote:With the send all command, go pick all units in unit group (unit group = to all units of type whatever)
then move units to where ever.
Do you know what the exact GUI tree would look like in this case?

Furthermore, I found this...thing that supposedly will do the whole research->create unit deal.

Code: Select all

Rifle Research
    Events
        Unit - A unit Finishes research
    Conditions
        (Researched tech-type) Equal to Recruit |cffffcc00Riflemen|r 
    Actions
        Set SH_Rifleman[(Player number of (Owner of (Researching unit)))] = True
Rifleman
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players matching (SH_Rifleman[(Player number of (Picked player))] Equal to True)) and do (Actions)
Loop - Actions
Unit - Create 1 Rifleman for (Picked player) at (Center of Region 000 <gen>) facing Default building facing degrees
But it's not working. I followed the instructions as given.
http://www.thehelper.net/forums/archive ... 57828.html
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Footmen vs Grunts-type triggers

Post by Bartimaeus »

I believe he meant all units in region belonging to player 1, or whatever, in region, which, I would assume would be the entire map.

For the second question, every, what five seconds, give 1 gold to player 1-12, (one action for each player), I really don't know if it's a solid number throughout the entire game, or if you can upgrade.

As for the first question, a unit completes a research, or whatever, and this research = the research you want.

Now, when spawning units for, say red, and he has this upgrade done, do if player 1 has (research) researched, spawn this unit. That would happen every five seconds, if you need any help with this, I'll have to open up WE, and I really don't want to do that, but will if you really need the help.
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Footmen vs Grunts-type triggers

Post by TechGeek001 »

Thx for the assistance, I think I've got it all figured out for now.