how about you tell us exactly what your trying to do, because as ST4RKiLL3R said, its still confusing, what do you want them to do, and what do you want to happen and such, be very detailed so we can assist.
your triggers make no sense, you have if then else but you dont do a then, you do an if and a else but the else is suppose to be if it fails. what exactly are you trying to do?
thanks for the tutorial, but when i load the map to see the actual triggers, this is the error it gives.
[9/24/20104:43:45PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,45319931,Lib:0)[9/24/20104:43:45PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,35E4FAAF,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,7290EDDC,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,6CC00AC7,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,0807881D,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,C4169A3B,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,6AE612E0,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,9D363D89,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,243D4704,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,B60B21AE,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,1D428CAB,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,79F06FE3,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,CAEF256D,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,3D91224F,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,C770C7F9,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,049EB78D,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,F4A2940E,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,97521195,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,5D12D17A,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,2681C85A,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,EC75CB1E,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,0B466F48,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,C74BF74B,Lib:0)[9/24/20104:43:46PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,B2C902DB,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,45319931,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,35E4FAAF,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,7290EDDC,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,6CC00AC7,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,0807881D,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,C4169A3B,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,6AE612E0,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,9D363D89,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,243D4704,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,B60B21AE,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,1D428CAB,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,79F06FE3,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,CAEF256D,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,3D91224F,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,C770C7F9,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,049EB78D,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,F4A2940E,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,97521195,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,5D12D17A,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,2681C85A,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,EC75CB1E,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,0B466F48,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Number Of Players In Player Group'(ParameterValue,C74BF74B,Lib:0)[9/24/20104:46:10PM]Warning:OrphanedtriggerparameterremovedfromFunctionCall'Player From Player Group'(ParameterValue,B2C902DB,Lib:0)
sorry i didnt get back to anyone, the forum didnt notify me of users replying, glad i was able to help, and trembelwick if your still having issues, PM me.
That didnt work, but i was able to get advice from imisu to look at a certain map and see how its done, the way that works properly is to make a global variable with the type as dialog, and show or hide the dialog based on the global one that was created.
thanks so much, ill try it when i get home, if it doesnt work ill be back for more advice. ive only been using the editing for a few days now but i think i am starting to get a hang of it. been reading a lot of tutorials.
on a side note question, does anyone know where to edit Talents? for instance the Reaper Nitro Pack upgrade i cannot find anywhere(i have story and campaign depends enabled) and it says its listed as a talen and i need to edit the cost of it but i am unable to locate it.
I am having a bit of trouble with my trigger, currently i have a dialog with 3 dialog buttons for a player to select their race. now i made a new dialog for each player (2 just for testing purposes until i know it works) and when player 1 or player 2 picks their race, it stops working and the other cannot. i tried it with destroy all dialogs and all types of different ways, so i reverted back to the way it used to be with destroy all so i can get some input. ill display the code below.
Trigger 1 - Player 1 - Select Race Dialog
Player1-SelectRaceDialogEventsGame-MapinitializationLocalVariablesConditionsActionsDialog-CreateaModaldialogofsize(300,250)at(0,0)relativetoCenterofscreenVariable-SetPlayer1-RaceVar=(Lastcreateddialog)Dialog-Createalabelfordialog(Lastcreateddialog)withthedimensions(200,50)anchoredtoTopLeftwithanoffsetof(60,25)withthetext"Choose Your Race"colorsettoWhitetextwriteoutsettofalsewithawriteoutdurationof2.0Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(200,50)anchoredtoTopLeftwithanoffsetof(50,50)settingthetooltipto"Select Race Terran"withbuttontext"Terran"andthehoverimagesetto""Variable-SetPlayer1-RaceArray[1]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(200,50)anchoredtoTopLeftwithanoffsetof(50,100)settingthetooltipto"Select Race Zerg"withbuttontext"Zerg"andthehoverimagesetto""Variable-SetPlayer1-RaceArray[2]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(200,50)anchoredtoTopLeftwithanoffsetof(50,150)settingthetooltipto"Select Race Protoss"withbuttontext"Protoss"andthehoverimagesetto""Variable-SetPlayer1-RaceArray[3]=(Lastcreateddialogitem)Dialog-Show(Lastcreateddialog)for(Playergroup(1))
Trigger 5 - Action Definition - Masser Dialog ( Not Suppose to Disappear & Suppose to work for each player ) Currently working for 1 player
Player1-MasserDialogOptions:ActionReturnType:(None)ParametersGrammarText:Player1-MasserDialog()HintText:(None)CustomScriptCodeLocalVariablesActionsDialog-CreateaModaldialogofsize(250,250)at(0,25)relativetoTopofscreenVariable-SetPlayer1-MasserVar=(Lastcreateddialog)Dialog-Createalabelfordialog(Lastcreateddialog)withthedimensions(200,50)anchoredtoTopLeftwithanoffsetof(75,25)withthetext"Mass To.."colorsettoWhitetextwriteoutsettofalsewithawriteoutdurationof2.0Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(50,50)anchoredtoTopLeftwithanoffsetof(75,50)settingthetooltipto"Send Units to Player 2"withbuttontext"P2"andthehoverimagesetto""Variable-SetPlayer1-MasserArray[2]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(50,50)anchoredtoTopLeftwithanoffsetof(125,50)settingthetooltipto"Send Units to Player 3"withbuttontext"P3"andthehoverimagesetto""Variable-SetPlayer1-MasserArray[3]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(50,50)anchoredtoTopLeftwithanoffsetof(75,175)settingthetooltipto"Send Units to Player 6"withbuttontext"P6"andthehoverimagesetto""Variable-SetPlayer1-MasserArray[6]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(50,50)anchoredtoTopLeftwithanoffsetof(125,175)settingthetooltipto"Send Units to Player 7"withbuttontext"P7"andthehoverimagesetto""Variable-SetPlayer1-MasserArray[7]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(50,50)anchoredtoTopLeftwithanoffsetof(30,90)settingthetooltipto"Send Units to Player 1"withbuttontext"P1"andthehoverimagesetto""Variable-SetPlayer1-MasserArray[1]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(50,50)anchoredtoTopLeftwithanoffsetof(30,135)settingthetooltipto"Send Units to Player 5"withbuttontext"P5"andthehoverimagesetto""Variable-SetPlayer1-MasserArray[5]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(50,50)anchoredtoTopLeftwithanoffsetof(170,90)settingthetooltipto"Send Units to Player 4"withbuttontext"P4"andthehoverimagesetto""Variable-SetPlayer1-MasserArray[4]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(50,50)anchoredtoTopLeftwithanoffsetof(170,135)settingthetooltipto"Send Units to Player 8"withbuttontext"P8"andthehoverimagesetto""Variable-SetPlayer1-MasserArray[8]=(Lastcreateddialogitem)Dialog-Createabuttonfordialog(Lastcreateddialog)withthedimensions(80,80)anchoredtoTopLeftwithanoffsetof(85,98)settingthetooltipto"Send Units to Center of Map"withbuttontext"CEN"andthehoverimagesetto""Variable-SetPlayer1-MasserArray[9]=(Lastcreateddialogitem)Dialog-Show(Lastcreateddialog)for(Playergroup(1))
0
how about you tell us exactly what your trying to do, because as ST4RKiLL3R said, its still confusing, what do you want them to do, and what do you want to happen and such, be very detailed so we can assist.
0
lol, the duck is fine, and i do believe you better pratice your voodoo.
0
your triggers make no sense, you have if then else but you dont do a then, you do an if and a else but the else is suppose to be if it fails. what exactly are you trying to do?
0
no more errors, but this looks very complex, gonna take me some time to figure this out..
0
@DrakenStark: Go
it removes the code so all the triggers are gone basically. your map had tons of comments but no triggers. maybe has to do with the 1.1 patch?
0
hello,
thanks for the tutorial, but when i load the map to see the actual triggers, this is the error it gives.
0
sorry i didnt get back to anyone, the forum didnt notify me of users replying, glad i was able to help, and trembelwick if your still having issues, PM me.
0
mine works :)
0
you talking about the button hotkey in the Data Type - Button and search for hotkey on the right side search. hope thats what you were looking for.
0
link goes to a 404 page..
0
That didnt work, but i was able to get advice from imisu to look at a certain map and see how its done, the way that works properly is to make a global variable with the type as dialog, and show or hide the dialog based on the global one that was created.
thanks all who replied and attempted to help.
0
does it actually cost anything when you build it? meaning, does it take the money?
0
i like it, i think ill try this out in my map once it gets out of alpha stages
0
thanks so much, ill try it when i get home, if it doesnt work ill be back for more advice. ive only been using the editing for a few days now but i think i am starting to get a hang of it. been reading a lot of tutorials.
on a side note question, does anyone know where to edit Talents? for instance the Reaper Nitro Pack upgrade i cannot find anywhere(i have story and campaign depends enabled) and it says its listed as a talen and i need to edit the cost of it but i am unable to locate it.
0
Hello,
I am having a bit of trouble with my trigger, currently i have a dialog with 3 dialog buttons for a player to select their race. now i made a new dialog for each player (2 just for testing purposes until i know it works) and when player 1 or player 2 picks their race, it stops working and the other cannot. i tried it with destroy all dialogs and all types of different ways, so i reverted back to the way it used to be with destroy all so i can get some input. ill display the code below.
Trigger 1 - Player 1 - Select Race Dialog
Trigger 2 - Global Var
Trigger 3 - Global Array
Trigger 4 - Race Selection - Give Units/Buildings
Trigger 5 - Action Definition - Masser Dialog ( Not Suppose to Disappear & Suppose to work for each player ) Currently working for 1 player
Trigger 6 - Masser Variable
Trigger 7 - Masser Array
Trigger 8 - Move Units
Trigger 9 - Variable - Hydra Group for sending
I basically have the same thing for player 2 but changed a few points and group things. can anyone tell me how to fix this?