• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need help on a trigger.

Status
Not open for further replies.
Level 5
Joined
Sep 7, 2005
Messages
48
Player one build building or something as the event, Condition: builiding is farm, then make a second trigger that's initially off. make it have a 3 second periodic event, then make the action set player one gold to (player one gold + 1). Then in the first trigger, make it turn that on.
 
Level 1
Joined
Jul 3, 2005
Messages
6
ummm i couldn't find the rules for this section because it said that they were outdated. But any ways here is what MobKing meant (i think):
Code:
Trigger 01
    Events
        Unit - A unit Finishes construction
    Conditions
        (Unit-type of (Triggering unit)) Equal to Farm
    Actions
        Trigger - Turn on Trigger 02 <gen>
initially on = unchecked
Code:
Trigger 02
    Events
        Time - Every 3.00 seconds of game time
    Conditions
    Actions
        Player - Add 1 to Player 1 (Red) Current gold
 
Level 9
Joined
Jun 28, 2005
Messages
633
Sorry but that wont work i think, well it would work but not the way he wants it because that would only work for one farm my guess he wants it like tree tags income system. I dont realy know how to do this but im guessing it takes some sort of variable knowledge
 
Status
Not open for further replies.
Top