Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detecting Alliance Status
Detecting Alliance Status
This topic is locked. You can no longer write replies here.
Nov 26 2009, 5:24 pm
By: Project100  

Nov 26 2009, 5:24 pm Project100 Post #1



For a map of mine, I'm trying to find a system that detects if you're allied or not so that i can keep everybody allied without spamming ally so you can't kill each other. I tried several different things and i can't figure it out.



None.

Nov 26 2009, 8:21 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

use "foes" and "allies" in the condition.

You can detect a unit, or a death count, or some other variable so long as it remains constant throughout the game. If player 1 is the only one with a protoss forge, then detect if "foes command 1 protoss forge", or vice versa. If you don't have anything like that, create a trigger for each person, and set the death count to the number. For example, player 1 sets death of cantina to 1 at the start of the game, player 2 sets 2, so on and so forth.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Nov 26 2009, 11:13 pm Project100 Post #3



Well, using your info rockz, i managed to get a system working. So this thread can be closed



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:08 pm]
Sylph-Of-Space -- woah! nice! thank you!
[2024-5-20. : 4:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[2024-5-20. : 4:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[2024-5-20. : 4:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[2024-5-20. : 4:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[2024-5-20. : 3:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[2024-5-20. : 3:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[2024-5-20. : 3:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[2024-5-19. : 9:18 pm]
Ultraviolet -- 🔪🐈
[2024-5-19. : 12:34 pm]
NudeRaider -- curiosity kills the cat!
Please log in to shout.


Members Online: eksxo