Staredit Network > Forums > SC2 Assistance > Topic: Cast via button
Cast via button
Sep 5 2010, 3:31 am
By: payne  

Sep 5 2010, 3:31 am payne Post #1

:payne:

Is it possible to link a unit to a dialog item?
I'd like to be able to make the players cast abilities on their allies by pressing quick-access buttons.
I want the players to be able to select the ability is literally cast it on the button, while it redirects the effects on the hero. Is this possible?

If not, I guess it is possible to just set one 'Heal' button for each Hero and let the Medic player click those to heal them?



None.

Sep 5 2010, 3:38 am Riney Post #2

Thigh high affectionado

Yea its possible. Depends on the scale of it though.

Are we talking about heroes healing heroes or an army?



.riney on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.

Sep 5 2010, 3:46 am payne Post #3

:payne:

Well, I'm trying to establish how the Custom UI will look like and how players would interact with it.
It's for the Infiltration RPG project.

So, at most 4 players to interact with.
I was at first thinking I could make all players target some specific spells on any hero with a Quick-Access button, but then I found it to be a horrible idea... BUT, letting the Medic (a probe), use those Quick-Access buttons to heal his partners might be useful (though this is still to be proven).

P.S. If any of you have ideas for the Custom UI, please go on... I already sense the fail of the design I have in mind.

EDIT: By the way, the main question behind this thread is simply to know if you can detect if a player has pressed a specific ability's button without casting it, just leaving it to the cast-cursor.



None.

Sep 5 2010, 4:33 am Temp Post #4



Button pressed event detects command card button presses.

So you have something like

Button Pressed -> Set var to true
Dialog item is pressed -> var is true -> order unit -> set var false
Unit uses ability -> set var false



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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]
[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.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
Please log in to shout.


Members Online: Oh_Man, O)FaRTy1billion[MM]