Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Display message for all players
Display message for all players
Aug 10 2009, 1:13 am
By: cakeofages  

Aug 10 2009, 1:13 am cakeofages Post #1



How can I make it so that when a unit enters a beacon (location), everyone gets displayed a message?

I tried making it so the unit sets off a switch when entering the beacon, and a trigger in Force 1 starts as (Condition) "The switch is set...", "Display for current player...", but it only views the message for the player with the unit.

Then I made it so the trigger was like (Condition) "Player brings Unit to Location...", but the text viewed for everyone except that player.

Help?



None.

Aug 10 2009, 1:29 am Vrael Post #2



Basically, the "Display text" action only works for the player running the trigger at the time. So, all this means is that you need to have every player that should see the text run the trigger. Basically, for this to work correctly you just need to include the correct players in the trigger setup. There are a couple ways to go about this, one is like you mentioned, using a switch, in a setup something like this:

Trigger1(Any Player){
Conditions:
Player X brings at least 1 men to Beacon
Actions:
Set Switch 1
}
Trigger2(Players who need to be displayed text){
Conditions:
Switch 1 is set
Actions:
Display Text("Blah blah blah")
}

Alternately, you could condense it into one trigger without the use of the switch:

Trigger("Players who need to see the text"){
Conditions:
Player X brings at least 1 men to Beacon Location
Actions:
Display Text("Blah blah blah")
}

The only thing you have to worry about with the condensed version, is including actions with nullify the conditions being met. For example, if the trigger displays text AND moves the unit on the beacon, When Player 1 runs the trigger, the conditions will be met, but when it comes time for P2 to run the trigger, P1 will have already moved the unit there, so P2's trigger won't fire because the conditions for the trigger are no longer met.



None.

Aug 10 2009, 5:20 am lil-Inferno Post #3

Just here for the pie

You could have a death statistic for displaying messages. The trigger would be like this:

[PLAYERS]
[*]Players you want.
[CONDITIONS]
[*]Current player brings at least one [men] to "Beacon".
[ACTIONS]
[*]Set deaths for [force] to 1 for "##TEXT##".

[TRIGGER]
[PLAYERS]
[*]Players you want.
[CONDITIONS]
[*]Current player has suffered exactly 1 death of "##TEXT##".
[ACTIONS]
[*]Set deaths for current player set to 0 for "##TEXT##".
[*]Display text message: "I'M ON A BEACON AND IT'S GOING STATIONARY.".




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:46 pm]
Ultraviolet -- @:@
@:@ shouted: this community still going strong?
Still going.. strong is debatable though.
[04:13 pm]
WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
[04:11 pm]
WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
[04:10 pm]
WeirdoX4857 -- Where is everybody
[01:21 pm]
@:@ -- this community still going strong?
[2026-9-27. : 4:30 pm]
Oh_Man -- yeah, probs
[2026-9-27. : 3:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[2026-9-27. : 3:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-27. : 1:14 am]
Symmetry -- https://staredit.net/topic/18932/ check it
Please log in to shout.


Members Online: Ultraviolet