I'm having trouble setting this up. The trouble is with the event, I'm not sure how to make it to include all mineral fields present and future(they will spawn periodically). I've simplified what I'm trying to do below.
Event:
Any unit enters within 7 range of a mineral field
Condition:
Triggering unit = SCV
Action:
Issue order to triggering unit to do ability(e.g. gather, etc)
The problem is that event will only work minerals that are already on the map or minerals set to a variable (but not arrays i hear). You can use periodic event to check if a scv is near a mineral field or you can use this:
I'm having trouble setting this up. The trouble is with the event, I'm not sure how to make it to include all mineral fields present and future(they will spawn periodically). I've simplified what I'm trying to do below.
Event: Any unit enters within 7 range of a mineral field
Condition: Triggering unit = SCV
Action: Issue order to triggering unit to do ability(e.g. gather, etc)
Any help would be greatly appreciated!
The problem is that event will only work minerals that are already on the map or minerals set to a variable (but not arrays i hear). You can use periodic event to check if a scv is near a mineral field or you can use this:
http://forums.sc2mapster.com/development/triggers/12525-customize-unit-enters-region-event/
you can constantly update it by add events every time mineral field enters the game.