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

Can i get people to check my map's trigger if its mui

Status
Not open for further replies.
Level 5
Joined
Jan 2, 2013
Messages
84
so im making a pokemon style catching system out of bare bone newb knowlege, spam questions, and learning.

i originally made it ask a pokemon game, but i changed it to warcraft kids and folks catching creatures to battle and have fun, so i kept their original names.

for starter's i think i did it okay, but i need the experts to check if my triggerings are multipayer-able. i mean its basically going to be for me, brothers, cousins, and nephew to play.

what i have done so far, the litttle kid can grab items, called pokeball and left click them to a low health neautral(the troll). it will then catch it and put it in the owner's box. the owner then can move the creature to the summoning area to enable the kid to be able to summon it. and the kid can unsummon it.

i need a review to see if my triggering is going in the right direction, its very basic. dont worry about it being memory leak, i know there are way more advance coding to make it much more simple but this is the best i know.
 

Attachments

  • ZzPokemonCatchingSystemzZ.w3x
    124 KB · Views: 57
Level 16
Joined
Mar 27, 2011
Messages
1,349
Technically speaking your map is not MUI. The triggers you've created are MPI.

MUI mean Multi-unit Instanceability. This means it can work for more than one unit at a time. MPI stands for Multi Player Instanceability. This means it can work for more than one player at a time. The difference? MUI can work for every unit, MPI can only work once for each player. For example, if player 1 somehow causes the trigger to run twice at the same time, the system will bug out for that player.

Without looking at your map closely, my guess is MPI would be fine for your catching system. I can't imagine each player trying to catch more than 1 Pokemon at a time right? Make a check to ensure a Pokeball can't be thrown while another Pokemon is currently in the process of being caught by the same player. If you did however want 1 player to beable to catch more than 1 Pokemon at a time, you need to make your trigger MUI.

Edit: There's a few ways to make your triggers MUI, I presonally use "dynamic indexing". I can't find the link, but browse through the tutorial sections on how to make triggers MUI. They will explain things there :)
 
Level 5
Joined
Jan 2, 2013
Messages
84
Technically speaking your map is not MUI. The triggers you've created are MPI.

MUI mean Multi-unit Instanceability. This means it can work for more than one unit at a time. MPI stands for Multi Player Instanceability. This means it can work for more than one player at a time. The difference? MUI can work for every unit, MPI can only work once for each player. For example, if player 1 somehow causes the trigger to run twice at the same time, the system will bug out for that player.

Without looking at your map closely, my guess is MPI would be fine for your catching system. I can't imagine each player trying to catch more than 1 Pokemon at a time right? Make a check to ensure a Pokeball can't be thrown while another Pokemon is currently in the process of being caught by the same player. If you did however want 1 player to beable to catch more than 1 Pokemon at a time, you need to make your trigger MUI.

Edit: There's a few ways to make your triggers MUI, I presonally use "dynamic indexing". I can't find the link, but browse through the tutorial sections on how to make triggers MUI. They will explain things there :)

thanks for the review, its intended for player only. and mybad about saying mui. i'll set a short cooldown on the pokeball item

like most pokemon games, a player is allowed to control one tamer, one pokemon, and catch one pokemon all at the same time.
 
Status
Not open for further replies.
Top