Hello the problem I'm having is that when i host the game with 2 or more friends in it and every ones picking there class the game lags a little loading the unit and you can hit the button over and over until it closes and have like 5(most any ones been able to spawn lol) of w/e hero or heroes you could click. anyone got a fix for this?
Hi iv looked and tried a bunch of stuff but can anyone help me out here. How do you set the camera back to default? ATM the problem I'm having is I'm telling the camera to look at something and then when i move the camera to somewhere else it gets stuck at that angle.
Hello this is my first tutorial and I'm going to cover how to make a dialog box with clickable buttons for race selection that works only for the player using them.
1st. Your going to need to make global variables for each dialog and dialog button you want to have.
2nd. Make a trigger that has the event "Game - Map Initialization". Once that's done your going to need to create some actions the first of which is a dialog. Right click on actions and select new element then search for create dialog. Leave it as a modal dialog and edit the size and position as you see fit. After you've done that your going to need to set the global variable for the dialog you just made, again just right click on actions and make a new element and search for set variable and set it to w/e you named the variable and == (last created dialog).
Still within the same trigger your going to need to make a dialog button just like how you made your dialog but now search for dialog item (button). Click on the (last created dialog) part then click the radial for variable and select your dialog. Change the size, position and name to w/e you want and leave the "" blank. Now just like when making the dialog set the variable for the button to w/e you named it and == (last created dialog item). Repeat this step if you want to add more buttons to the dialog.
If you want to add a title to the dialog box just create a dialog item (label), again in the (last created dialog) change it to the dialog we made earlier. Change the size, position, text, and color to w/e you want and since we are using this as a title keep the text write out set to false.
To make all this work show up right click on actions and search for show/hide dialog then pick your dialog change hide to show for all players.
3rd. Make a new trigger with the event "any dialog item is clicked by player (triggering player)". Once you've done that your going to make a if then else action to do this just search for If then else in the actions window. Once you've done that right click on if and select new element and pick comparison. Click on the green "(" and change the function to used dialog item == (w/e button you want used). For the then part, again right click and select new element and search for create units facing point and change the number of and type of unit to w/e you want and the player to (triggering player) the point to the function (start location of player (triggering player) and the rest as the default settings. Leave the else blank. Repeat this for each button you want.
To make the dialog close after its used right click on actions and search for show/hide dialog then pick your dialog and keep it as hide and change it to function (player group (triggering player). This will also hide the buttons ^^
Congratulations you should now have a working dialog with clickable buttons that hides its self after use. Feel free to share this with anyone just please give me credit thank you. Vox
Hey just saw your Char select screen great work man cant wait to play it, but i have a question would you mind linking the name of the art files you used for it? thanks.
Hi I'm having a hard time getting player groups to work mostly because I don't know how to set up the trigger the right way so I was wondering if someone could lend me a helping hand. I want to make a dialog box with class selections on it that show up for each player and then close when said player picks his/her class. Now i know that to do this i need to set up player groups and then tell the game to put each player in said groups, but the part I cant get down is how to make the groups for each player then put each player into the groups I made so that my trigger works, but i just dont know how to do that >.<
I would love if someone could do a tutorial on how to add dialog boxes for character selection / race selection and how to add timers for mission objectives ^^
0
Does anyone know how to do this atm? what I'm looking for is a shock wavish type attack or even something like this E.g.
So in short a um explosion beam >.>
0
hmm i cant seem to find out how to do this >.< could you link code?
0
oh wow you are my hero rofl i cant belive i did think of that....
0
Hello the problem I'm having is that when i host the game with 2 or more friends in it and every ones picking there class the game lags a little loading the unit and you can hit the button over and over until it closes and have like 5(most any ones been able to spawn lol) of w/e hero or heroes you could click. anyone got a fix for this?
0
Hi iv looked and tried a bunch of stuff but can anyone help me out here. How do you set the camera back to default? ATM the problem I'm having is I'm telling the camera to look at something and then when i move the camera to somewhere else it gets stuck at that angle.
nvm I'm retarded I fixed it lmao.
0
np glad to help :)
0
Hello this is my first tutorial and I'm going to cover how to make a dialog box with clickable buttons for race selection that works only for the player using them.
1st. Your going to need to make global variables for each dialog and dialog button you want to have.
2nd. Make a trigger that has the event "Game - Map Initialization". Once that's done your going to need to create some actions the first of which is a dialog. Right click on actions and select new element then search for create dialog. Leave it as a modal dialog and edit the size and position as you see fit. After you've done that your going to need to set the global variable for the dialog you just made, again just right click on actions and make a new element and search for set variable and set it to w/e you named the variable and == (last created dialog).
Still within the same trigger your going to need to make a dialog button just like how you made your dialog but now search for dialog item (button). Click on the (last created dialog) part then click the radial for variable and select your dialog. Change the size, position and name to w/e you want and leave the "" blank. Now just like when making the dialog set the variable for the button to w/e you named it and == (last created dialog item). Repeat this step if you want to add more buttons to the dialog.
If you want to add a title to the dialog box just create a dialog item (label), again in the (last created dialog) change it to the dialog we made earlier. Change the size, position, text, and color to w/e you want and since we are using this as a title keep the text write out set to false.
To make all this work show up right click on actions and search for show/hide dialog then pick your dialog change hide to show for all players.
3rd. Make a new trigger with the event "any dialog item is clicked by player (triggering player)". Once you've done that your going to make a if then else action to do this just search for If then else in the actions window. Once you've done that right click on if and select new element and pick comparison. Click on the green "(" and change the function to used dialog item == (w/e button you want used). For the then part, again right click and select new element and search for create units facing point and change the number of and type of unit to w/e you want and the player to (triggering player) the point to the function (start location of player (triggering player) and the rest as the default settings. Leave the else blank. Repeat this for each button you want.
To make the dialog close after its used right click on actions and search for show/hide dialog then pick your dialog and keep it as hide and change it to function (player group (triggering player). This will also hide the buttons ^^
Congratulations you should now have a working dialog with clickable buttons that hides its self after use. Feel free to share this with anyone just please give me credit thank you. Vox
0
thanks a ton.
0
Hey just saw your Char select screen great work man cant wait to play it, but i have a question would you mind linking the name of the art files you used for it? thanks.
0
Holy shit it worked vadremix thank you so much.
0
no i have not ill give that a shot if i can figure it out XD more suggestions always welcome.
0
Hi I'm having a hard time getting player groups to work mostly because I don't know how to set up the trigger the right way so I was wondering if someone could lend me a helping hand. I want to make a dialog box with class selections on it that show up for each player and then close when said player picks his/her class. Now i know that to do this i need to set up player groups and then tell the game to put each player in said groups, but the part I cant get down is how to make the groups for each player then put each player into the groups I made so that my trigger works, but i just dont know how to do that >.<
Here is a pic of what I've tried: http://i305.photobucket.com/albums/nn238/LazyRapture/triggers.png any and all help with this would be so sick ^^
0
I would love if someone could do a tutorial on how to add dialog boxes for character selection / race selection and how to add timers for mission objectives ^^