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.
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
Please log in to shout.


Members Online: O)FaRTy1billion[MM], Roy, Vrael