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#6948 on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

-- Updated as of December 2021 --

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.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: jjf28