HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Triger:ACTIONS SKIP?!!!!@!@!

09-07-2003, 09:06 AM#1
Bnet-OP
DUDE FOR SOME REASON MY ACTIONS SKIP.. WHEN I REACH A CERTAIN AMOUNT OF KILLS IT DOESNT DO THE ACTION.. BUT IT DOES IT WHEN I REACH A HIGHER OR LOWER AMOUNT.. AND THEN IT REPEATS IT SELF...

ARE MY ACTIONS SKIPPING?! HELP!!!
09-07-2003, 10:02 AM#2
Bloodlust
maybe another blizz bug, try replacing owner of killing unit with a number to test if it works..
09-07-2003, 10:06 AM#3
Magos
The owner of (killing unit) is not always a valid player. I don't think it is if they are killed by poison or some other non-unit stuff like that.
09-07-2003, 04:33 PM#4
Bnet-OP
Quote:
Originally posted by Magos
The owner of (killing unit) is not always a valid player. I don't think it is if they are killed by poison or some other non-unit stuff like that.




yeah i know... but when a unit dies from poison or something it doesnt count toward you kills so it shouldnt be the reason why it skips :\ im so freaking confused..
09-07-2003, 04:34 PM#5
Bnet-OP
Quote:
Originally posted by Bloodlust
maybe another blizz bug, try replacing owner of killing unit with a number to test if it works..




ill try that dude... but its the thing ive been trying to avoid :|
09-07-2003, 05:23 PM#6
Sage the Mage
Just curious, but are you acutally adding to the kill count when a unit is killed by the player?
09-07-2003, 05:58 PM#7
Bnet-OP
Quote:
Originally posted by Sage the Mage
Just curious, but are you acutally adding to the kill count when a unit is killed by the player?

LOL ofcourse dude.. :) how stupid do u think i am ;) heres a pic of it.. BTW all the sugestions that have been mentioned.. (DONT WORK) FOR SOME REASON .. WHEN I TEST IT MY SELF IT DOESNT SKIP BUT IT SKIPS FORM TIME TO TIME WHEN IM PLAYING IN A FULL HOUSE OR 3V3 and the less players in the game the less it skips is it because im upgrading every 25 kills?
09-07-2003, 06:01 PM#8
Guest
It could be because you have it Equal to.. What happens if they kill one more guy while that trigger is running. Or if two guys die at the same exact time... it skips it. Try doing greater than or equal to and then have a variable store which trigger to run next... IE:

Unit Dies

If (Blah = 1 and Kills >= 50) Then
[
Do Your Stuff
Set Blah = Blah + 1
Skip Remaining Actions
]

If (Blah = 2 and Kills >= 100) Then
[
Do Your Stuff
Set Blah = Blah + 1
Skip Remaining Actions
]
09-07-2003, 08:01 PM#9
Bnet-OP
is there a way to make a condition do the following?...

unit must belong to owner of killing unit
09-07-2003, 08:09 PM#10
Pesmerga
Condition - Unit comparison - Killing unit is owned by player 1

I think
09-07-2003, 08:14 PM#11
Bnet-OP
Quote:
Originally posted by Pesmerga
Condition - Unit comparison - Killing unit is owned by player 1

I think


thats not what i ment to say i know u can do that... what i mean is...

is there a way to do this..

If-Conditions
player does not own unit from unit group<== that
kills [((player number of (owner of (killing unit)))] = to ##
then -Actions
uni -create 1 blahblah for (owner of killing unit) at ((owner of (killing unit)) start location) blah blah
else-
do nothing
09-07-2003, 08:32 PM#12
Bnet-OP
.... listn ppl i know of a way to do it .. to make it so that it doesnt skip units... but in this map that would require 312 triggers for the upgrades.. and and 312 to turn them on!!!! som one help i cant resort to making 624 triggers jus to those simple actions dont skip!! i need help!
09-07-2003, 09:27 PM#13
Vexorian
Create:
-A point array called Point
-A unit-type array called Upgrade
-An integer Array called UPN , Lenght = 13 , Starting value = 0

I am using the letter "N" to mean the number of total upgrades
And killing player to mean (Player number of (Owner of killing unit))

== Add to map initialization :

For each Integer A from 1 to 12 do (Actions)
-loop actions
-- Set Point[integer A] = ( Convert player index to player -Player(Integer A)) start location)

Set Upgrade[1] = Footman
Set Upgrade[2] = Grunt
Set Upgrade[3] = Ghoul
....
Set Upgrade[N] = Super Giant Marine

==============
Events: Unit dies
Condition: UPN[Player number of (owner of killing unit)] less than N
Actions:
IF (Conditions) then do (actions) else (actions)
-Conditions:
-- Kills(Killing player) greater than or equal to (25 * ((UPN(killing player) + 1))
-Then Actions:
---set UPN(killing player) = UPN(Killing player) + 1
---Create 1 UPGRADE(UPN(killing player)) at POINT(Killing player)
---Camera - Pan camera for owner of Killing unit to Position of (lastcrated unit) over 0 seconds.
-Else Actions:
do nothing
09-07-2003, 09:46 PM#14
Electromancer
I believe it has something to do with the "if all conditions equal to true" thing. Maybe by removing that it will work?
09-08-2003, 11:59 AM#15
Vexorian
I really like my triggers, they do what benet-op wanted to do with 315 triggers