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.
[01:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
Please log in to shout.


Members Online: DarkenedFantasies, Ultraviolet