Staredit Network > Forums > SC2 Assistance > Topic: Creating Hero
Creating Hero
Nov 2 2011, 10:12 pm
By: Striker  

Nov 2 2011, 10:12 pm Striker Post #1



How do I use create a trigger that creates a hero after a player selects the button in the menu? How do I remove the button after that?



None.

Nov 2 2011, 11:29 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

menu = dialog ?

if yes:
- there is a dialog item event. You can select click in it. Then you have to compare the clicked dialog item with your buttons. So you had to save the buttons in variables after you created them.
- hide the dialog for the player or destroy the dialog

if no:
- what's "menu" in your case?




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:01 pm]
NudeRaider -- Vrael
Vrael shouted: because you perfectly guessed SEN's root password and we cant have that displayed all over the shoutbox
given Moose's post I don't think he had to guess. ^^
[04:53 pm]
NudeRaider -- lil-Inferno
lil-Inferno shouted: Nude why'd you delete my shout
why not? :awesome:
[04:26 pm]
Vrael -- because you perfectly guessed SEN's root password and we cant have that displayed all over the shoutbox
[03:58 pm]
lil-Inferno -- sadjfjkasdhfijsadhmfcjhsdajkvfmjadslkfhjsdkahf
[03:58 pm]
lil-Inferno -- Nude why'd you delete my shout
[03:35 pm]
NudeRaider -- never trust a statistic you haven't forged yourself
[2026-6-09. : 4:37 am]
Ultraviolet -- 80% of statistics are made up on the spot
[2026-6-08. : 8:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1: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
Please log in to shout.


Members Online: jun3hong, Excalibur