ok so anyways im making a defence and this seems sort of noob to me but i dont lol no how to do this : When you bring a "chooser" to a certain location you subtract minerals from the player and if he goes there without minerals then he cant buy it. I know it has something to do with accumulate and all that but i dont know how to do it. I looked in the map making tutorials and its not there so can anyone help me?
| Trigger |
| Description: |
| Money $$$ |
|
| Players: |
| ¤ Current player |
| Conditions: |
¤ Accumulates atleast 'X' ore and/or gas
|
| ¤ Bring atlest one 'unit' to 'location' |
| Actions: |
¤ Subract 'X' ore and/or gas
|
¤ Move unit 'location2' to 'location3'
|
| ¤ preserve trigger. |
At least means that the very littlest amount of ore/gas/(both combines) he needs to have is the amount you set.
At most means that he can have no more than the amount you set.
And exactly works off an exact number.
You want to use at least for your triggers. So if the unit costs 20 ore, it has to be at least 20 ore. Understand now?

Oops you're right. I was not thinking. Yeah use exactly.
I'm just so used to using at least because I use atleast for most things...
Nonono, he needs to use at least. What if the person has 31 ore and the trigger is for EXACTLY 30? He has enough to buy it, but he doesn't meet the conditions.
Omg... someting is wrong with me...

yea thanks man i didnt know what was wrong i did it all but i put exactly :\ thanks again kaboomy
And you might want to tell people that they don't have enough minerals if that don't have enough, although it would take strings..
Cost is 30, so at least 30
Then,
Player
-Some player
Conditions
-Accumulate at most 29 minerals
-brings at least one "chooser" to "buy"
Action
-Display Text"blah blah"
-Move 1 "chooser" at "buy" to "reset"
-Preserve Trigger
And remember to subtract the right amount of minerals.
So what I'm saying is don't set them to zero, subtract by 'X.'
It really sucks to have 300 minerals to blow where you should be able to buy 10 units when you get 1 and now have 0 minerals

.
How do u make it so that when a dilifer uses dark swarm it summons to broodlings???
thanks this will help m e alot

Also when spells are used they belong to P12 on the map. You must use starforge to do these triggers. Example. P12 brings one (Spell) to anywhere. Center location on that spell, Remove spell owned by P12 and create 2 lings at the centered location. Although I havn't infact tried this myself, I have a prettygood Idea that it works like that, Someone please correct meif I'm wrong.
why do u have to put it under p12 couldn't it work if i just did it on xtra??
The spell is owned by player 12.
ooo man i hate going into starfroge but ok thx
Wow that went totally off-topic. May want to close this since the topic is fixed.
Yeah original problem is fixed. Closing.
