Staredit Network

Staredit Network -> UMS Assistance -> Trigger Help
Report, edit, etc...Posted by HeRtZ on 2005-03-10 at 21:21:38
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?
Report, edit, etc...Posted by KaboomHahahein on 2005-03-10 at 21:23:47

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.

Report, edit, etc...Posted by chuiu on 2005-03-10 at 21:27:19
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? smile.gif
Report, edit, etc...Posted by KaboomHahahein on 2005-03-10 at 21:28:28
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...
Report, edit, etc...Posted by chuiu on 2005-03-10 at 21:36:47
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.
Report, edit, etc...Posted by KaboomHahahein on 2005-03-10 at 21:40:43
Omg... someting is wrong with me... fear.gif
Report, edit, etc...Posted by HeRtZ on 2005-03-10 at 21:42:55
yea thanks man i didnt know what was wrong i did it all but i put exactly :\ thanks again kaboomy
Report, edit, etc...Posted by sckor on 2005-03-11 at 04:50:16
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
Report, edit, etc...Posted by RexyRex on 2005-03-11 at 08:51:42
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 wink.gif.
Report, edit, etc...Posted by Snipe on 2005-03-11 at 22:15:06
How do u make it so that when a dilifer uses dark swarm it summons to broodlings???
Report, edit, etc...Posted by chuiu on 2005-03-11 at 22:16:51
Read this and see if it helps you.

http://www.staredit.net/index.php?tutorial=41
Report, edit, etc...Posted by Snipe on 2005-03-11 at 22:19:37
thanks this will help m e alot biggrin.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2005-03-11 at 22:35:14
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.
Report, edit, etc...Posted by Snipe on 2005-03-11 at 23:01:52
why do u have to put it under p12 couldn't it work if i just did it on xtra??
Report, edit, etc...Posted by chuiu on 2005-03-11 at 23:06:09
The spell is owned by player 12.
Report, edit, etc...Posted by Snipe on 2005-03-11 at 23:29:32
ooo man i hate going into starfroge but ok thx
Report, edit, etc...Posted by DevliN on 2005-03-11 at 23:36:13
Wow that went totally off-topic. May want to close this since the topic is fixed.
Report, edit, etc...Posted by chuiu on 2005-03-11 at 23:40:21
Yeah original problem is fixed. Closing. smile.gif
Next Page (1)