I am a newb at triggers.. I can do some but heres a tricky one..
-Ability to invite someone into the group. -I wanna make party groups with a max of 3. -Only the people in the party get experiance. -If anyone follows they dont recieve experiance unless grouped. -The option to leave the group at any time. (EDIT)-10% exp gain bonus to encourage group work
How many players? Is it an RPG? Do you want me to use Dialog/Dialog Buttons? Do you want me to create a "Group" multiboard which shows every player his current group? Is there anything extra you may want to make it look cool or something like a special effect at the person who accepted? Is it just heros or is it all the people of a player? What key do you want it to be to make it activate the trigger of choosing who you want to invite? Do you want me to add comments in the script telling you what they all do?
That's all I need for now, but I might need more later. So just answer these and I'll tell you how to do it. I'm half-way done the thing anyways.
-Most likely 9 players, going to go for 12. -The map is an RPG -Add some sort of special effect below their feet, not too big -Use dialog for like, accept, decline -Make it show all people in group somehow -Heros only
1-800-stfu ...-Make it show all people in group somehow...
That MIGHT be too hard to do... I mean, it's possible, but it'd make the game laggy, would most likely require some JASS that I don't have, and, most of all, cause some players that slots aren't used in to have the multiboard still there! That'll make it even more laggy. So in that case, I can't do it. I've got this full entire day to work on the code. When I get back, I'll tell you how the code goes.
Okay I have it but it's long, so here's the first step:
Make 27 variables, 1-9 as Player1Invite-Player9Invite, 10-18 as Player1Inviter-Player9Inviter, and 19-27 as Player1Accept-Player9Accept.
The second step takes a little longer. Make this for 9 triggers. Name them Grouping Invite P1-P9:
Events:
Player - Player 1 (Red) skips a cinematic sequence
Conditions:
Actions:
-------- Set Title --------
Dialog - Change the title of Player1Invite to Invite Player to Group
-------- Set Buttons --------
Dialog - Create a dialog button for Player1Invite labelled Player 2
Set Player2Inviter = (Last created dialog Button)
Dialog - Create a dialog button for Player1Invite labelled Player 3
Set Player3Inviter = (Last created dialog Button)
Dialog - Create a dialog button for Player1Invite labelled Player 4
Set Player4Inviter = (Last created dialog Button)
Dialog - Create a dialog button for Player1Invite labelled Player 5
Set Player5Inviter = (Last created dialog Button)
Dialog - Create a dialog button for Player1Invite labelled Player 6
Set Player6Inviter = (Last created dialog Button)
Dialog - Create a dialog button for Player1Invite labelled Player 7
Set Player7Inviter = (Last created dialog Button)
Dialog - Create a dialog button for Player1Invite labelled Player 8
Set Player8Inviter = (Last created dialog Button)
That's the first step. I'll tell you the rest later after you get that all done.
Well, I am getting plain bored with this trigger. I just can't stand keep going with this. When I get in a map-making mood I'll finish the trigger off and give it all to you at once. So... yeah, I'll tell you later about this. That okay with you?