Warcraft III resources & community, 2003–2006 · archived

Vincoin help... Triggers

4 posts
#1

Vincoin help... Triggers

I have some questions.. Most of them, is in the Bship map if that helps.. Here:

1. How do i make each player get an amount of gold every second?

2. How do i make a vincon, that says: When you get 20 kills you win?

3. How do i make people get money when killing another hero?

Thats about it.. Thx for your time all...

Oh, and btw: PLz simplify your answers as much as possible, im not to good at this yet :wink:
#2

Re: Vincoin help... Triggers

1) For the first one make a trigger doing-
Every (time amount)
Add x(gold amount) to Player x Current gold

2) Make a trigger that sets a variable for the player to +1 for each kill, then another that has its event as
Real value (variable) becomes equal to 20
Defeat player x with message (you be dead)

3) Under the units make their bounty to whatever you want it to be, then have a trigger run on init that does
Turn player flag Gives bounty On for Player X


That should just about cover it all, if you need more help PM me.
#3
Could you devide it up in events, conditions etc? It would help alot!

Thx anyway....
#4
1.

Events
Time - Periodic Event

Actions
Player - Add Property

2.

Events
Game - Value of Real Variable

Action
Game - Defeat

3.

Events
Map Initialization

Action
Player - Turn Player Flag On/Off