HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger help please

07-21-2003, 10:58 PM#1
bananarchy
I'm looking to make a trigger that makes X units at X locaton if the player owns a specific building. I can't seem to figure out the WC3 way of doing things though. I'm also trying to figure out how after about 10 minutes it stops spawning X units and starts spawning Y units, but at the same location. Spawning preferably at say 6:00 and 18:00. If anyone can help me, I'd be eternally grateful. I wish SC style triggering was in WC3, it would mkae my life much easier.
07-21-2003, 11:38 PM#2
FF_Behemoth
create a variable(integer) named elipse time

E- elipse time equls to (XX secs) <---- the time you want to spawn the Y unit
A- set elipse time to 1


E- A unit(X) is alive <-- in this case your building
E- every XX game time <---- adjust this to spawn time that you want
C- owner of (trigger unit) equal to player X
A- If elipse time equals to 0 the do action
A- Loop create (Xamount Xunit) at location, facing defult position <--- create a region at each spawner location


E- A unit(X) is alive <-- in this case your building
E- every XX game time <---- adjust this to spawn time that you want
C- owner of (trigger unit) equal to player X
A- If (elipse time) equals to 1 the do action
A- Loop create (Xamount Yunit) at location, facing defult position <--- create a region at each spawner location
07-22-2003, 01:05 AM#3
bananarchy
Quote:
A- If (elipse time) equals to 1 the do action
what trigger action is this? i cant seem to find out how to do this.
edit: oh ya and thanks for all your help
07-22-2003, 12:58 PM#4
Dead-Inside
If / Then / Else... You should use it...
The "If" part is Integer Comparsion.
You choose the Integer and then set the "Equal to" valvue.
Then you have the loop action as the "Then" action. The else action is a "Do nothing" (Found at the top) action.

Regards
Dead-Inside
08-04-2003, 06:45 PM#5
bananarchy
i cant seem to make the "if" my interger variable, am i doing something wrong?
08-05-2003, 03:52 AM#6
bananarchy
egad how do i make If = to my variable?