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.
[06:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Roy