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.
[04:47 am]
lil-Inferno -- rive
[03:48 am]
RIVE -- inferno
[03:18 am]
lil-Inferno -- moose
[08:35 pm]
Moose -- lil-Inferno
lil-Inferno shouted: sadjfjkasdhfijsadhmfcjhsdajkvfmjadslkfhjsdkahf
mad
[03:11 pm]
lil-Inferno -- h
[2026-6-09. : 5:01 pm]
NudeRaider -- Vrael
Vrael shouted: because you perfectly guessed SEN's root password and we cant have that displayed all over the shoutbox
given Moose's post I don't think he had to guess. ^^
[2026-6-09. : 4:53 pm]
NudeRaider -- lil-Inferno
lil-Inferno shouted: Nude why'd you delete my shout
why not? :awesome:
[2026-6-09. : 4:26 pm]
Vrael -- because you perfectly guessed SEN's root password and we cant have that displayed all over the shoutbox
[2026-6-09. : 3:58 pm]
lil-Inferno -- sadjfjkasdhfijsadhmfcjhsdajkvfmjadslkfhjsdkahf
[2026-6-09. : 3:58 pm]
lil-Inferno -- Nude why'd you delete my shout
Please log in to shout.


Members Online: lil-Inferno