Easy Trigger confusing me!

Deathtrex

New Member
Reaction score
2
I'm about to make a map and in this map is there a Factory which is takeable for both team. When a team take the factory, the team gets 2 gold every second. I tried a few triggers, but they wont work? Anyone got an idea? :thup:
 

TomTTT

New Member
Reaction score
44
I'm not sure how to post a trigger here?
You can go to your trigger and right-click on it's name and copy as text.

I'm about to make a map and in this map is there a Factory which is takeable for both team. When a team take the factory, the team gets 2 gold every second. I tried a few triggers, but they wont work? Anyone got an idea? :thup:
I can give you a general idea maybe.
first for gold, it's pretty easy. every 1 second of gametime give 2 gold to owner of unit...
For the factory thing im too lazy now :p but post your triggers as written above so we can see.
 

laxperson808

New Member
Reaction score
9
time - every 1 second of the game

(this is a simple ver but its easy to change to fit ur idea)
player add 2 X numb of factories owned by allies of player to play gold
 

tooltiperror

Super Moderator
Reaction score
231
The formula is simple.

It's [ljass]2 + ( Factories * 2 )[/ljass]
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Simply ( Factories * 2 ) will suffice ;)

Otherwise you'll always recieve 2 gold, even if you aren't owning a factory :p
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
and since the author said there is only 1 factory in the game its even more simple, the formula would be:
2

yeah... just give 2 gold to the owner of the factory, shouldnt be that hard to trigger.

Trigger:
  • Events
    • Time - every X.XX seconds of game time
    • Conditions
    • Actions
      • Player - Add 2 Gold to (Owner of FACTORY) current gold


and how shall this factory be taken over? by attacking it down to a certain amount of health?
 

Deathtrex

New Member
Reaction score
2
I know

I know how to change the factory. But the problem about your trigger is the gold is gained to the player who got the factory, i need it for the whole team who got the factory.
 

vonDarkmoor

New Member
Reaction score
9
Trigger:
  • Gold
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in (All allies of (Owner of Factory)) and do (Player - Add 2 to (Picked player) Current gold)
 

Deathtrex

New Member
Reaction score
2
Or then i thought

Yeah i thought it was it but!, the factory are "Passive" in the start of the game. So when i use your trigger my team is gained gold even when the factory is passive and not a part of my team yet.?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top