HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Main Menu - Multiboard Help

06-25-2004, 01:50 AM#1
qmrcool
I am making a menu type multiboard for a map. I have run into a little problem which im not to sure how I solve. Here are my 3 triggers.
Code:
Initialization
    Events
        Map initialization
    Conditions
    Actions
        Advanced - Initialize advanced triggers
        Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
        Advanced - Force game camera of Player 1 (Red) to follow Footman 0001 <gen> and enable arrow key control for this unit False
This trigger is all my initialization. It basiclly is used for making the camera follow my unit and not letting the arrow keys move the camera around the map.

Code:
Main Menu1
    Events
        Time - Elapsed game time is 0.20 seconds
    Conditions
    Actions
        Multiboard - Create a multiboard with 5 columns and 4 rows, titled Main Menu
        Set MainMenu_Menu1 = (Last created multiboard)
        Multiboard - Change the color of the title for MainMenu_Menu1 to (100.00%, 0.00%, 0.00%) with 0.20% transparency
        Multiboard - Set the display style for MainMenu_Menu1 item in column 1, row 1 to Show text and Hide icons
        Multiboard - Set the display style for MainMenu_Menu1 item in column 1, row 2 to Show text and Hide icons
        Multiboard - Set the display style for MainMenu_Menu1 item in column 1, row 3 to Show text and Hide icons
        Multiboard - Set the display style for MainMenu_Menu1 item in column 1, row 4 to Show text and Hide icons
        Multiboard - Set the text for MainMenu_Menu1 item in column 1, row 1 to Equip
        Multiboard - Set the text for MainMenu_Menu1 item in column 1, row 2 to Items
        Multiboard - Set the text for MainMenu_Menu1 item in column 1, row 3 to Characters
        Multiboard - Set the text for MainMenu_Menu1 item in column 1, row 4 to Save/Load
        Multiboard - Set the color for MainMenu_Menu1 item in column 1, row 1 to (100.00%, 80.00%, 20.00%) with 0.00% transparency
        Multiboard - Show MainMenu_Menu1
This is my second trigger that deals completely with the starting multiboard The Text that is changed color is the text that is Selected by a player.

Code:
Main Menu1a
    Events
        Player - Player 1 (Red) Releases the Down Arrow key
    Conditions
    Actions
        Multiboard - Set the color for MainMenu_Menu1 item in column 1, row (MainMenu_Items1 - 1) to (100.00%, 100.00%, 100.00%) with 0.00% transparency
        Multiboard - Set the color for MainMenu_Menu1 item in column 1, row (MainMenu_Items1 + 1) to (100.00%, 80.00%, 20.00%) with 0.00% transparency
This is the trigger that allows you to move down through the multiboard menu. The Variable "MainMenu_Menu1" is an integer which defines what text is selected by telling which row number in column 1 is selected.

My problem that I have come across is that when I press down the arrow hey and release it, it works. But it only works the first time I do it. Why wont it work again when I press the down key and then release it again?
06-25-2004, 01:55 AM#2
linkmaster23
What is, Advanced - Intilize Advanced Triggers exactly? It's a 3rd party editor isn't it?
06-25-2004, 01:58 AM#3
qmrcool
Quote:
Originally Posted by linkmaster23
What is, Advanced - Intilize Advanced Triggers exactly? It's a 3rd party editor isn't it?

Its a trigger from World Editor Unlimited. Thats sole purpose it to have the camera follow a single unit and either allow arrow key movement for that single unit or not arrow key movement but either way you cant use the arrow keys to move the camera around the map. If you have a better idea of an action to use then using this action, I would be glad to here it.
06-25-2004, 02:49 AM#4
logik
well.. i made a multi board system, but didnt use that...

i used X and Y intergers... it get confusing, but once you get the feel for it, its jock rockingly good...

heres a link for when i was playing around with multiboard... and have a look http://www.wc3campaigns.com/showthread.php?t=56082


it might help
06-25-2004, 02:29 PM#5
Vexorian
I think you should change the value of MainMenu_Items1 ?
06-25-2004, 04:20 PM#6
qmrcool
Alright i got it all working moving through the meny and everything and I got going to a second menu by using the right and left arrow keys. I also added an update system for my Items and Equipment Menus. The problem i have now that i have no idea how to do is making it display info about the item currently in a position. So if Item1 is in the region of Equipment01 (Region) how do I display info about item one on the multiboard. Do i just to manual labor and spend a day just adding all the if/then/else statments or is there a better way because i would like to be able to use a lot of items but if it requires a lot of manual labor for a simple info display then I will cut down on items serverly.

EDIT: Oh and logik thank you, your multiboardmap2 help alot. That was exactly what I was trying to do (except for the teleport part). We basiclly were doing the same system I just forgot to adds something.
06-28-2004, 07:27 AM#7
logik
thats good to hear...

i put the teleport thing in, for the multi to have a visable use...


if you need any more contribution just give me a yell... if i dunno what ur saying i will learn...