Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Having issues with mineral detection.
Having issues with mineral detection.
Apr 26 2020, 2:07 pm
By: proeras  

Apr 26 2020, 2:07 pm proeras Post #1



Hello, I'm fairly new to the map making scene and have just recently got into EUDs. I'm currently trying to make a SF style map and have some triggers set up for hero making, for some reason though they only work for player 1, doesn't matter whose in the player 1 slot either.

Here's an example of the player 2 first level trigger,

Quote
Trigger(1){
Conditions:
Memory(-11421, At Least, 10000);
Bring("Current Player", "Terran Marine", "Location 3", At Least, 1);

Actions:
Display Text Message("Always Display", "<13><07>I<02>nfantry Upgraded!\r\n<13>-10,000 Minerals");
Kill Unit At Location("Current Player", "Terran Marine", All, "Location 3");
Create Unit("Current Player", "Jim Raynor (Marine)", 1, "Location 1");
Set Resources("Current Player", Subtract, 10000, ore);
Preserve Trigger();
}

if anyone has some suggestions I could try it would be very appreciated




Apr 26 2020, 2:27 pm jjf28 Post #2

Cartography Artisan

Player 1's minerals would be at -11421 http://farty1billion.dyndns.org/EUDDB/?pg=entry&id=459, player 2's would be at -11420,, player 3 at -11419 and so on.

You probably also need to check the trigger owners, your trigger shows as "Trigger(1)" implying it's only owned by player 1? (or player 2 if it's a zero based number showing).

You also don't need EUDs to check minerals, you can use the accumulate condition.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Apr 26 2020, 2:37 pm proeras Post #3



Quote from jjf28
Player 1's minerals would be at -11421 http://farty1billion.dyndns.org/EUDDB/?pg=entry&id=459, player 2's would be at -11420,, player 3 at -11419 and so on.

You probably also need to check the trigger owners, your trigger shows as "Trigger(1)" implying it's only owned by player 1? (or player 2 if it's a zero based number showing).

You also don't need EUDs to check minerals, you can use the accumulate condition.

Thanks brother! my dumbass didn't think to check the first on the list, lets just say I was trying to get comfy with euds lol



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
Please log in to shout.


Members Online: Vrael, O)FaRTy1billion[MM]