So I am trying to set up a trigger where unit enters a region and then if they have 100 minerals then a unit will be created at a point and 100 minerals will be subtracted, this is how i have it set up.
Buy Protoss Unit
Events
Unit - Any Unit Enters (Region((Offset of buy_protoss), 1.0))
Local Variables
Conditions
(Player (Triggering player) Minerals) != 100
Actions
Unit - Create 1 Zealot for player 2 at Point 001 using default facing (No Options)
Player - Modify player 1 Minerals: Subtract 100
I thought this is the way to set it up, looks right to me anyways, but this does not work. Any ideas?
None.
>be faceless void >mfw I have no face
You want ==, not !=.
But really, you want >= , or it won't fire when you have over 100 minerals.
Red classic.
"In short, their absurdities are so extreme that it is painful even to quote them."
the only options it gives for that part are != and ==, i tried custom script and put in >= and it still didnt work.
None.
Condition: (Returns whether player (Triggering player) has at least 100 minerals and at least 0 gas) == true
this? (Player has resources)
None.
http://www.sc2mapster.com/maps/picklefishstore/Though it's in 'Planning' stage, you should keep looking it up until it is released.
None.
Quote from name:isolatedpurity
Condition: (Returns whether player (Triggering player) has at least 100 minerals and at least 0 gas) == true
this? (Player has resources)
This is what I had originally put for trigger but that didn't work either but I'll try it again and see if maybe I did it wrong.
None.