OMGOMGOMG
UMBWGMG (Unidentified Human Being.)
- Reaction score
- 28
You: SO MUCH WRITING, I AIN'T READING THIS!!!
Me: Read this, it HELPS allot, and its not much writing! You DON'T have to read it all, But it makes more sence if you do read it all before posting
You: Fine
you when youve finished reading: It makes sence, I could do that, following your Triggers!
Me: It helps allot, doesn't it?
You: yes it does! I can now type in -give in the game and it summons the dialog 'magically'and can give my Unit thats not a hero, to the person I want! making sure I don't give it to a person thats not playing like Brown not playing.
Me: Who do you thank?
You: You and BloodySkulls?
Me: Yes
You: THANKS!
Heheh, so, YOU BETTER READ IT EVEN THOUGH THERES ALLOT OF WRITING! I may even put up some pic's of it working! or a vidio....!
READ BEFORE READING: Thank BloodySkulls for helping me with some of the triggers (For other things, just made them into this trigger)
DialogButton[1] is a variable DialogButton with an array of 12
Dialog is a variable Dialog with no array
if your stuck on
(units owned by (triggering player) matching ((((Matching unit) is A Hero) Not equal to True) and (((matching unit) is selected by (triggering player)) Equal to true))
Its: Units owned by player matching condition
You can change the Dialog to anything you want
You can change the DialogButton to what ever you want! MAKING SURE that Button is at the end of the name (I.E. Give is the Dialog and GiveButton is the Dialog Button)
Another thing: DialogButton[1] is for player 1 (Red) While DialogButton[2] is for player 2 (Blue) and DialogButton[5] is for Player 5 (yellow) AND DialogButton[12] is for player 12 (Brown) REMEMBERING: the [*] ('*' being the number) is not apart of the DialogButton, its part of the 'Array'! :thup:
Heres the trigger:
NOW once youve done all that your ready for the next step, which is when you click Button Red, make it give the unit youve selected to red, heres how
Now your wanting to do that with ALL the players that will be-able to join so if its going to be closed or computer then DON'T by ALL means do it for them! (so if the computer is yellow then don't make one for yellow)
ONLY make it for the players THAT will be-able to JOIN! (so if yellow is a 'user' then make one for him REMEMBERING you only have to do it for the 'users'!)
Thanks for reading, enjoy the trigger, post, and rate!
(PS, if you want another way (not dialog way) then just say it via post!)
Me: Read this, it HELPS allot, and its not much writing! You DON'T have to read it all, But it makes more sence if you do read it all before posting
You: Fine
you when youve finished reading: It makes sence, I could do that, following your Triggers!
Me: It helps allot, doesn't it?
You: yes it does! I can now type in -give in the game and it summons the dialog 'magically'and can give my Unit thats not a hero, to the person I want! making sure I don't give it to a person thats not playing like Brown not playing.
Me: Who do you thank?
You: You and BloodySkulls?
Me: Yes
You: THANKS!
Heheh, so, YOU BETTER READ IT EVEN THOUGH THERES ALLOT OF WRITING! I may even put up some pic's of it working! or a vidio....!
READ BEFORE READING: Thank BloodySkulls for helping me with some of the triggers (For other things, just made them into this trigger)
DialogButton[1] is a variable DialogButton with an array of 12
Dialog is a variable Dialog with no array
if your stuck on
(units owned by (triggering player) matching ((((Matching unit) is A Hero) Not equal to True) and (((matching unit) is selected by (triggering player)) Equal to true))
Its: Units owned by player matching condition
You can change the Dialog to anything you want
You can change the DialogButton to what ever you want! MAKING SURE that Button is at the end of the name (I.E. Give is the Dialog and GiveButton is the Dialog Button)
Another thing: DialogButton[1] is for player 1 (Red) While DialogButton[2] is for player 2 (Blue) and DialogButton[5] is for Player 5 (yellow) AND DialogButton[12] is for player 12 (Brown) REMEMBERING: the [*] ('*' being the number) is not apart of the DialogButton, its part of the 'Array'! :thup:
Heres the trigger:
Trigger:
- Give
- Events
- Player - Player 1 (Red) types chat message -give as an exact match
- Player - Player 2 (Blue) types chat message -give as an exact match
- Player - Player 3 (Teal) types chat message -give as an exact match
- Player - Player 4 (Purple) types chat message -give as an exact match
- Player - Player 5 (Yellow) types chat message -give as an exact match
- Player - Player 6 (Orange) types chat message -give as an exact match
- Player - Player 7 (Green) types chat message -give as an exact match
- Player - Player 8 (Pink) types chat message -give as an exact match
- Player - Player 9 (Gray) types chat message -give as an exact match
- Player - Player 10 (Light Blue) types chat message -give as an exact match
- Player - Player 11 (Dark Green) types chat message -give as an exact match
- Player - Player 12 (Brown) types chat message -give as an exact match
- Conditions
- Actions
- Dialog - Clear Dialog
- Dialog - Change title of Dialog to Pick the Color you want to give your unit to:
- Dialog - Create a dialog called Red
- Set Dialog Button[1] = Last created button)
- Dialog - Create a dialog called Blue
- Set Dialog Button[2] = Last created button)
- Dialog - Create a dialog called Teal
- Set Dialog Button[3] = Last created button)
- Dialog - Create a dialog called Purple
- Set Dialog Button[4] = Last created button)
- Dialog - Create a dialog called Yellow
- Set Dialog Button[5] = Last created button)
- Dialog - Create a dialog called Orange
- Set Dialog Button[6] = Last created button)
- Dialog - Create a dialog called Green
- Set Dialog Button[7] = Last created button)
- Dialog - Create a dialog called Pink
- Set Dialog Button[8] = Last created button)
- Dialog - Create a dialog called Gray
- Set Dialog Button[9] = Last created button)
- Dialog - Create a dialog called Light Blue
- Set Dialog Button[10] = Last created button)
- Dialog - Create a dialog called Dark Green
- Set Dialog Button[11] = Last created button)
- Dialog - Create a dialog called Brown
- Set Dialog Button[12] = Last created button)
- Events
NOW once youve done all that your ready for the next step, which is when you click Button Red, make it give the unit youve selected to red, heres how
Trigger:
- Give Red
- Events
- Dialog - A dialog button is clicked for Dialog
- Conditions
- (Clicked DialogButton) = DialogButton[1]
- Actions
- Set tempgroup = (Units owned by (Triggering player) matching ((((Matching unit) is selected by (Triggering player)) Equal to True) and (((Matching unit) is A Hero) Not equal to True)))
- Unit - Change ownership of (triggering unit) to player 1 (Red) and Change color
- Dialog - Hide Dialog for (Triggering player)
- Give Blue
- Events
- Dialog - A dialog button is clicked for Dialog
- Conditions
- (Clicked DialogButton) = DialogButton[2]
- Actions
- Set tempgroup = (Units owned by (Triggering player) matching ((((Matching unit) is selected by (Triggering player)) Equal to True) and (((Matching unit) is A Hero) Not equal to True)))
- Unit - Change ownership of (triggering unit) to player 2 (Blue) and Change color
- Dialog - Hide Dialog for (Triggering player)
- Events
- Give Teal
- Events
- Dialog - A dialog button is clicked for Dialog
- Conditions
- (Clicked DialogButton) = DialogButton[3]
- Actions
- Set tempgroup = (Units owned by (Triggering player) matching ((((Matching unit) is selected by (Triggering player)) Equal to True) and (((Matching unit) is A Hero) Not equal to True)))
- Unit - Change ownership of (triggering unit) to player 3 (Teal) and Change color
- Dialog - Hide Dialog for (Triggering player)
- Events
- Give Purple
- Events
- Dialog - A dialog button is clicked for Dialog
- Conditions
- (Clicked DialogButton) = DialogButton[4]
- Actions
- Set tempgroup = (Units owned by (Triggering player) matching ((((Matching unit) is selected by (Triggering player)) Equal to True) and (((Matching unit) is A Hero) Not equal to True)))
- Unit - Change ownership of (triggering unit) to player 4 (Purple) and Change color
- Dialog - Hide Dialog for (Triggering player)
- Events
- Give Yellow
- Events
- Dialog - A dialog button is clicked for Dialog
- Conditions
- (Clicked DialogButton) = DialogButton[5]
- Actions
- Set tempgroup = (Units owned by (Triggering player) matching ((((Matching unit) is selected by (Triggering player)) Equal to True) and (((Matching unit) is A Hero) Not equal to True)))
- Unit - Change ownership of (triggering unit) to player 5 (Yellow) and Change color
- Dialog - Hide Dialog for (Triggering player)
- Events
- Events
Now your wanting to do that with ALL the players that will be-able to join so if its going to be closed or computer then DON'T by ALL means do it for them! (so if the computer is yellow then don't make one for yellow)
ONLY make it for the players THAT will be-able to JOIN! (so if yellow is a 'user' then make one for him REMEMBERING you only have to do it for the 'users'!)
Thanks for reading, enjoy the trigger, post, and rate!
(PS, if you want another way (not dialog way) then just say it via post!)