HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Help

06-21-2003, 04:52 PM#1
sirk
hey i'm kinda making a new rpg for warcraft 3 and i need help with some triggers (i'm kinda crap with them). what i want to do is so wen 2 creatures are killed a gate opens.:mtk: ( may sound absolutely n00b like but i'm crap) any help?
06-21-2003, 05:36 PM#2
Dead-Inside
E: A unit owned by Player X (The player who owns the two creatures that needs to be killed)
A: If dying unit = X do set IntegerVariable = IntegerVaraible +1 else do nothing
If dying unit = Z do set IntegerVariable = IntegerVariable +1 else do nothing
If IntegerVariable = 2 do "Open your gate" else do nothing

You need one variable for this. If you have an integer array, just take a high end free spot for this. No need to make a new one.

Regards
Dead-Inside
06-21-2003, 05:36 PM#3
Download
Multiple ways of achieving this
Easiest way:
Event - Time - Every 2 seconds of Game time
Condition - Unit 1 is dead equal to True (Boolean comparison)
Condition - Unit 2 is dead equal to True (Boolean comparison)
Action - Destructible Doodad - Open Gate 0001
06-21-2003, 05:37 PM#4
Download
Oh you were faster :(

Action - Trigger - Turn off This Trigger to my solution

to it though =)