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

[Trigger] Multiple problems

Status
Not open for further replies.
Level 3
Joined
May 12, 2008
Messages
35
I have made a map with multiple things i cant figure out.
1st is a bounty system where it should take dmg done by half then add to attacking players bounty number but i thinks its taking all dmg by half.
2nd I tried to make this map leak free where it matters but some how i messed it up. it seams to work at first but after a while some triggers i fixed stopped working.
 

Attachments

  • trade stuff.w3x
    1.1 MB · Views: 42
Level 6
Joined
Sep 5, 2007
Messages
264
I'd start by removing...

  • Unit - Unit Is Attacked
From the "Add Bounty" trigger, your doubling up... The attack starts, you register attack, the damage hits & you register attack again.

As for trying to fix the trigger stopping problem... I can't look into it at the moment...

But I think that the "Measure damage" trigger is the problem, it adds events, but the are never cleared (nor can they be), so the stack of events just keeps getting bigger, and your triggers decide to pack up and go home :p
 
Level 6
Joined
Sep 5, 2007
Messages
264
I'd honestly think that you should look into other people's damage detection systems. I've made a basic one myself, and I only have a simple knowledge of how they work.

I'm sorry about this, but you asked for help in finding the problem, I found it. I can't really strongly help in the solution. But, I'm sure that there are plenty of people around here that probably could.
 
Status
Not open for further replies.
Top