• 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.

[JASS] Listing Question

Status
Not open for further replies.
Level 11
Joined
Jun 30, 2008
Messages
580
Hello Hivers,

I'm trying to create a party system for my project and I'm having a tough time trying to figure out how I should go about it. I'm trying to setup the part for removing a player from the party, and then reordering the list back into order. So when I have party members 1 - 4, and party member 3 leaves, it will relist them as 1 -3, instead of 1, 2, and 4.

How should I go about this?

Edit: I've been testing around with force's and been able to get it to work, is there any negatives to using forces?
 
Last edited:
If you want players to share xp within a party, you probably want to make sure that the units that will get xp are part of the battle. If the unit is on the other side of the map or something, it probably shouldn't get xp, even if the player is part of the party. If there is loot, it shouldn't get loot either, or any sort of reward ;).

You should also handle proper xp distribution considering the level differences of the units, the xp granted by the monster in question, and the level of the monster. You should also consider the size of the active party. Once again, only consider active units.

You should also split bounty appropriately.

This is pretty similar to what you want http://www.hiveworkshop.com/forums/...v2-2-1-1-a-203592/?prev=status=r2&u=Nestharus

you can probably use some of the code from that
 
Status
Not open for further replies.
Top