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:35 pm]
Symmetry -- though mine's probably worse
[03:35 pm]
Symmetry -- That certainly sounds similar to what I've made
[06:28 am]
Ultraviolet -- sounds like Bound & Defend
[07:43 pm]
Symmetry -- If you take the reins you damn well be ready to ride
[2026-5-23. : 2:46 pm]
NudeRaider -- you wish
[2026-5-23. : 12:43 am]
IskatuMesk -- Ah, so Reindeer Breeding 3: BDSM edition.
[2026-5-22. : 12:45 am]
Moose -- tbh
[2026-5-20. : 8:27 pm]
Symmetry -- It's a bound map where you cross obstacles to earn units to defend your base
[2026-5-20. : 8:16 pm]
Symmetry -- No, the world isn't ready for that
[2026-5-20. : 5:11 pm]
Zoan -- Reindeer Breeding 3?
Please log in to shout.


Members Online: Symmetry