exchange wood

Status
Not open for further replies.

xplicitjohn

X

xplicitjohn

how do i make a trigger for exchanging wood for gold

100 wood = 100 gold.

Ive been trying to figure this out for an hour still cant find the correct trigger. help
 
You have left out a major condition.

Conditions:
Player 1 (red)'s lumber greater than or equal to 100

Actions
Set player 1 (red)'s lumber...

You're right but that's why he said the trigger needs an event and some conditions. ;)

It will all depend on what the OP is trying to create...
 
You have left out a major condition.

Conditions:
Player 1 (red)'s lumber greater than or equal to 100

Actions
Set player 1 (red)'s lumber...


umm noob question :

how do i get that condition cant find it 0-0
 
Well, you didn't tell what triggers the event, but here goes:

  • Untitled Trigger 086
    • Events
    • Conditions
    • Actions
      • Player - Set Player 1 (Red) Current gold to ((Player 1 (Red) Current gold) + 100)
      • Player - Set Player 1 (Red) Current lumber to ((Player 1 (Red) Current lumber) - 100)
Add some conditions too...

The event is umm........ A unit starts the effect of an ability..
 
If u dont want to use triggers ,u can actually just add a shop into your map and edit it in object editor so that it will be able to sell gold coins. Then just go to edit the gold coins item to sell for 100 lumber.
 
you can make item that costs 100 gold and has ability to give 100 wood

with triggers

you can make upgrade that costs 100 gold

when unit finishes an upgrade

-give 100 gold to (owner of unit(researching unit))

........when something happens

-100 gold
+100 wood .....

that should be so easy.......
 
If u dont want to use triggers ,u can actually just add a shop into your map and edit it in object editor so that it will be able to sell gold coins. Then just go to edit the gold coins item to sell for 100 lumber.

I suggest you do it this way, but if you still want triggers and still can't find the correct functions I could help you by providing you with a picture (as you asked) or you could upload your map to the Pastebin (Up-Left: News, Chat, Pastebin, Donations.... etc) and post the link here.
 
Status
Not open for further replies.
Back
Top