• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Triggering Help

Status
Not open for further replies.
Level 2
Joined
Jun 5, 2005
Messages
17
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

Anyone have ANY idea on how to trigger this?
 
Level 2
Joined
Jun 5, 2005
Messages
17
:) how about this, you can use it, just give me credit for the idea in your map, tell me how, and ill give you credit in mine for doin the trigs :D
 
Level 6
Joined
Jan 15, 2005
Messages
188
That'll work, but first:

Needed information:

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.
 
Level 2
Joined
Jun 5, 2005
Messages
17
-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
 
Level 6
Joined
Jan 15, 2005
Messages
188
1-800-stfu said:
...-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.
 
Level 6
Joined
Jan 15, 2005
Messages
188
Okay I have it but it's long, so here's the first step:
Code:
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.
 
Level 6
Joined
Jan 15, 2005
Messages
188
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?

+~Kamikazzee~+
 
Level 2
Joined
Jun 5, 2005
Messages
17
Completely fine with me. just as long as i still gonna get the trigs. I know how you feel, im not in map making moods often
 
Status
Not open for further replies.
Top