HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Major Trigger Problem! Need Help Asap!

05-08-2004, 12:54 AM#1
cfmonkey45
Ok, apparently I had just map a game over BNet and this map was still in the Beta Testing Phase so, lol, I made a fool out of myself. The map was set to be a modern Bank Robbery map where they had terrorists, hostages, and cops. What happened was that,

Ok here are the problems:
- I had a system where every 40 seconds it would - 2.00% of the hostages' health and mana (for hunger and water loss) but apparently 30 seconds into the game it killed all the hostages! LOL!

- Also, to make it easier for players when their teammates quit, to grant full shared units. (Well in order to keep the terrorists from killing the hostages and food carts sent by the cops, I made every1 an ally, except terrorist and cops, i made them neutral.) Well back to the subject, when a cop left, the terrorists were able to control the cops and then they made the cops attack the other cops. LOL o_O .

Well, obviously that would've shown up in the Beta Testing, but I didn't have time for that. (rushed to get it out by my brother.) So PLEASE HELP ME!!!!!
05-08-2004, 01:10 AM#2
ChinShu
Could you display both the triggers here?

It would be better if you showed us the Events, Conditions, and Actions.
05-08-2004, 01:36 AM#3
cfmonkey45
Quote:
Originally Posted by ChinShu
Could you display both the triggers here?

It would be better if you showed us the Events, Conditions, and Actions.


ok, here's the first one, and I think I know how to fix the other.

Code:
[color=DarkRed]events[/color]
Periodic Time- Every 40 seconds of Game Time
[color=Navy]Actions[/color]
Pick every unit in (Hostage Group) and do (Set life of (Picked Unit) to ((Life of (Triggering Unit)) - 2.00)%) 
05-08-2004, 01:46 AM#4
-={tWiStÄr}=-
well for the 2% thing, i dont know if that will ever kill the hostage...
and also if its 30 seconds into the game there has to be some other trigger interfering.
05-08-2004, 02:23 AM#5
cfmonkey45
Srry for double posting, but I figured out what I did wrong.

LOL, I MIXED UP 2 TRIGGERS!

Here's what I wanted to do:

Code:
[color=DarkRed]Events[/color]
   Every 40 seconds of Game Time
 [color=Navy]Actions[/color]
   Pick every unit in (Hostage Group) and do (Set Life of (Picked unit) to ((Life of (Picked unit)) - 2.00)

Making it so every 40 seconds, their health would go down by 2

Now here's what I DID

Code:
[color=DarkRed]Events[/color]
   Every 40 seconds of Game Time
 [color=Navy]Actions[/color]
   Pick every unit in (Hostage Group) and do (Set Life of (Picked unit) to ((Life of (Picked unit)) - 2.00)%)

Making it so every 40 seconds, their health would be set at -2.00 and killing them. LOL :o

I found it when I was looking on the Triggers of another map that I got the Ideas from and I went to see what I did wrong and I noticed that I was - Set Life (To Value) not - Set Life (To Percent)! Pretty dumb of me eh? :\