Staredit Network > Forums > SC2 Assistance > Topic: Menus (custom)
Menus (custom)
Aug 9 2010, 11:06 pm
By: IcY  

Aug 9 2010, 11:06 pm IcY Post #1

Cruisin' on that LSD

in the beginning of same games custom menus pop up revealing choices such as difficulty, character choice, income choice etc...
i need a character choice menu for my map to pop up in the beginning to allow players to choose a character(hero) for this map.




Aug 9 2010, 11:18 pm Devourer Post #2

Hello

Button-variables are global and type of "dialog item"


Event: map initialitation
Condition: none
Actions:
- Create a modal dialog of size X Y aligned to the.... (up to you)
- Set title of the dialog (last created dialog) to "Character Choice"

- Add dialog item (button) with value "Hero1" and hover text "Hero's abilities...wutsoever...totally up to you
- Set variable "Button1" to Last created dialog item
--- Same as above, for the characters you want to have

- Show last created Dialog

New trigger:
Event: Player uses Dialogitem (replace dialog item with the variable, e.g. Hero1)
Condition: not necesarry
Actions: Hide Dialog ( convert player to player group ( triggering player ) )
Actions: Create HERO at POINT for Triggering Player (or whatever actions you want)

These are the basics, hope this helps, for more help simply reply to this or/and provide us with more information :)



Please report errors in the Staredit.Network forum.

Aug 13 2010, 4:54 am StormTemplar Post #3



Thank you! I like to experiment myself and look around before asking but I couldnt get this to work right, new triggers are difficult to get..
EDIT: actually. Most of the actions I cant find in the list of possibilities. Or if I do, the ability to put them as youve typed isnt possible.. :-/ Do I have to write custom script?

Post has been edited 1 time(s), last time on Aug 13 2010, 11:26 pm by StormTemplar.



None.

Aug 17 2010, 5:04 am Deev Post #4



You have to remember that the actual text of your trigger changes as you change the content of the line. I just tried to follow his instructions to see what you might have missed out on. Here is the actual list of commands he used, and where to find them. This is only the names of the triggers in the menu, I left out the values, and what they need to be set too, since he already covered all that, and it is my understanding that you're only having problems actually finding the actions he is refering to. (Especially the first thing, you have to set your variable to a dialog type, else it wont show up later)


Variable1:
Type: Dialog



Trigger 1:

Event: Game-> "Map initilization"
Action: Dialog-> "Create dialog"
Action: Dialog-> "Set dialog title"
Action: Dialog-> "Add dialog item"
Action: Dialog-> "Add dialog item (Button)"
Action: Variable-> "Set variable"
Action Dialog-> "Show/Hide Dialog"


Trigger 2:
Event: Dialog-> "Dialog item is used"



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Roy