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.
[2025-7-10. : 7:43 pm]
dumbducky -- >is retarded
[2025-7-10. : 7:43 pm]
dumbducky -- >is called Linksys Smart Wifi
[2025-7-10. : 12:15 am]
O)FaRTy1billion[MM] -- every time i want mosfets i can never find any, just boring bjts smh
[2025-7-10. : 12:15 am]
O)FaRTy1billion[MM] -- i want free mosfets
[2025-7-09. : 8:31 pm]
dumbducky -- Really cool for my router to ignore my static DHCP reservations
[2025-7-09. : 3:41 pm]
Ultraviolet -- Ya know, I was just wondering, "Where the heck can I collect some free mosfets??" Along comes dumbducky with a perfect solution. How lucky.
[2025-7-08. : 4:47 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet | l I 1 │ ︳ 〡│┃︱ hope I did include your line of choice :awesome:
fuck if I know :lol:
[2025-7-08. : 1:31 pm]
Oh_Man -- doing goods work with that water SIE
[2025-7-08. : 5:08 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: l in the chat for you cooked bois
| l I 1 │ ︳ 〡│┃︱ hope I did include your line of choice :awesome:
Please log in to shout.


Members Online: City