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

Food without units... WTF?

Status
Not open for further replies.
Level 24
Joined
Oct 18, 2008
Messages
942
in my map both teams spawn a random unit on random arena for every player and they fight. when either team is all dead (food is 0), there is a new round.

the bug happens randomly. a player gets food when he has no units. i added -showall command to see if a unit had somehow got in a different area. sometimes the trigger seems to spawn in 2 arenas but ff'ing removes them as supposed.

sometimes someone gets food when he has absolutely no units. ff'ing does nothing and -showall finds nothing.
 

Attachments

  • teammicrobattle1.14c.w3x
    110.5 KB · Views: 47
  • nofood.w3g
    50.8 KB · Views: 68
Last edited by a moderator:
  • Angry
Reactions: Rui
Mh I had no time to check your map but for me it seems like it would be much easier to use an integer to check the numbers of dying units...

Agreed.Try to use it like this.Then if the same problem occurs try it again yourself.If there is still no solution make a post here again and we will help you as much as we can.
 
Level 5
Joined
Nov 14, 2007
Messages
161
do your dummy units have a food count and are you properly removing them when they are done? either giving them a general expiration timer or a negative health regen so they die shortly after spawning.
do you have buildings in your map and do they cost food for players?
every time it happens write down what units you have done and skills used. odds are a trigger is making an invisible unit that isnt being removed (commonly a dummy unit)
 
Level 12
Joined
Aug 20, 2007
Messages
866
Yeah thats most likely, if you can't find any of that, try to do as much debugging to find exactly when the extra food occurs, that should give more information as to how to solve the problem.
 
Level 8
Joined
Mar 20, 2007
Messages
224
So, if I understand correctly, the map spawns a random unit for each player, and then players fight to the death?

When exactly does this bug occur, then? When the unit is spawned? After the unit has died?
 
Status
Not open for further replies.
Top