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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: l)ark_ssj9kevin