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.
[07:48 pm]
NudeRaider -- https://staredit.net/381642/ really makes you appreciate (again) how good sc music is.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
Please log in to shout.


Members Online: NudeRaider