Gold Trigger

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

Moderator: Cheaters

User avatar
lilmanbryan
Member
Posts: 52
Joined: January 10th, 2008, 6:29 am
Title: Learning to Model
Location: Shoreline, Wa

Gold Trigger

Post by lilmanbryan »

How can i make a trigger, so that every 30 seconds all players get 50 gold...?
[blinking]lilmanbryan[/blinking] appreciates you reading this...

[blinking]Look Down...[/blinking]

Spoiler:
You Weren't Supposed to Look Here...


[blinking]Look Up...[/blinking]
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Gold Trigger

Post by Arabidnun »

Event:
-Time - Every 30 seconds of game time

Condition:
-NONE

Action:
-Player - Add 50 to (Player((Player number of (Triggering Player)))) Current Gold


I tried it and it worked, But it will still give leavers gold i beleive
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Gold Trigger

Post by Aero »

That will only work for player 1 red if it works at all.

You need to do a..

Pick every player in All Players and do
Loop
Add 50 gold to picked player
Durchdringen
Honorary wc3edit.net Traitor
Posts: 468
Joined: December 10th, 2007, 10:50 pm
Title: The Professional
Location: USA

Re: Gold Trigger

Post by Durchdringen »

Do what Aero said, because "Triggering Player" will not respond to "every 30 seconds" the player has to do an event for this to work.

So like if Player 1 chat event says -gold, then the triggering player would receive gold.

Here is the trigger for you.

Trigger Info:
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Player - Add 50 to (Picked player) Current gold)

Pretty much what Aero said, except it is the actual trigger.
Do you support Durchdringen? If so, add the spoiler to your sig. Durch cares for you, so show your support for Durch!
Spoiler:
(broken image) Thanks for the support!
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Gold Trigger

Post by Arabidnun »

Aero you still havent taught me how to do Player number yet ^ ^
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: Gold Trigger

Post by tru_power22 »

Um... You don't need to use a player number with Durchdringen's trigger.
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.
User avatar
lilmanbryan
Member
Posts: 52
Joined: January 10th, 2008, 6:29 am
Title: Learning to Model
Location: Shoreline, Wa

Re: Gold Trigger

Post by lilmanbryan »

O.k, thank you very much everyone!
[blinking]lilmanbryan[/blinking] appreciates you reading this...

[blinking]Look Down...[/blinking]

Spoiler:
You Weren't Supposed to Look Here...


[blinking]Look Up...[/blinking]