HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Menu's

01-14-2003, 10:44 PM#1
Guest
Ok, I'm working on a map that will allow people to explore several maps.... what I mean is, for example: On the bottom of the map, I have "Swamps" and I want a region so that if the player steps there, it will "warp" them to another map that I'm going to make, that will be all "Swamps" and how can I make a "menu" pop up when they step on that region?? Like I want it to have 2 options 1. Journey forth into the Swamps of Duraka. or 2. Stay in the land of Asisla. How can I make that??
01-15-2003, 12:36 AM#2
MrDoomMaster
you will have to create a region for each different aspect of your map that you want to move onto the next map. If there is information (such as units, integers, booleans, or reals) you want to carry onto the next map then you will need to use some of the Cache functions. To move onto the next map here is what you would do for, lets say, a forested region:

Events:
Unit Enters <region>

Conditions:
(any that apply)

Actions:
(be sure to add any cache functions BEFORE the following functions)
Game - Set Next Level
Game - Victory
01-15-2003, 12:46 AM#3
Guest
I realize that, but what I dont understand is, for example I will use the DM Mod, they got it so that "menu" to create your hero pops up. How can I make my own menu that will pop up like that??
01-15-2003, 02:02 AM#4
Draco
Use the dialog trigger actions. Remember to ''show'' a dialog last after you added all of the buttons and such. If you don't want to try to learn by yourself, I'm sure SuperIKI will come in trying to get you to use his dialog engine. It may be a good choice if you can't do it yourself.
01-15-2003, 03:17 AM#5
Guest
Here is a quick example. Show the menu with a show menu trigger. Detect a button click with just that, the event button is clicked.
01-15-2003, 03:47 AM#6
MrDoomMaster
First, you would need to create an initialized trigger that sets variables for your dialog and dialog buttons. Once you get your dialog organized, you would have it show the dialog at whatever point in the game you chose, and have the available buttons with your hero names on them displayed. Once a player clicked this button, you would have it create a unit (hero) at the desired position on the map. One problem with dialogs i have not yet been able to figure out is assigning dialog button clicks to certain players. There are no dialog click comparison functions that will assign certain actions to the clicker of the dialog button. This is an issue you'll have to work around. There may be a method, but i haven't found one through triggers as they are now.
01-16-2003, 05:00 PM#7
Guest
......Havnt any of you played the Dungeon Master MOD and been a hero? If so, post yes. And then I will explain to you what I mean using that as an example.
01-18-2003, 01:09 AM#8
Holimion
does game cache works on multiplayer?
01-18-2003, 01:29 AM#9
Guest
It's not a multiplayer map....
01-18-2003, 01:32 AM#10
pigchow777
hey sharp ummmm i can help u a bit with that too if u need help with it for the campaign
01-18-2003, 01:34 AM#11
Guest
I think I understand it now...I read what all the actions were and everything that Random posted. Last time I looked at it, I just kidna skimmed through it.
01-18-2003, 02:02 AM#12
Guest
Quote:
Originally posted by MrDoomMaster
First, you would need to create an initialized trigger that sets variables for your dialog and dialog buttons. Once you get your dialog organized, you would have it show the dialog at whatever point in the game you chose, and have the available buttons with your hero names on them displayed. Once a player clicked this button, you would have it create a unit (hero) at the desired position on the map. One problem with dialogs i have not yet been able to figure out is assigning dialog button clicks to certain players. There are no dialog click comparison functions that will assign certain actions to the clicker of the dialog button. This is an issue you'll have to work around. There may be a method, but i haven't found one through triggers as they are now.

I am working on a dialog too. I have done all the things u menstioned, but when i tried to run it, a shadow suddenly appear and all the buttom or mouse event become disabled. Besides, no dialog box come out when i try to run the map.Can anyone solve my problems ,please.
01-18-2003, 02:05 AM#13
Guest
HEY! USE YUR OWN THREAD TO TALK IN!!! THIS ONES MINE!! ALLLLLLLL MINE :gfu: !! j/k....just look at the pic. that random attached, it solved my problems.
01-18-2003, 02:16 AM#14
Guest
Quote:
Originally posted by Sharpshooter007
HEY! USE YUR OWN THREAD TO TALK IN!!! THIS ONES MINE!! ALLLLLLLL MINE :gfu: !! j/k....just look at the pic. that random attached, it solved my problems.


o....sorry.....
can you tell me how to move a post?
01-18-2003, 02:17 AM#15
Guest
.....I was joking.....