HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I need know how to make a Trigger for my mtg map help plz!

08-08-2002, 07:35 AM#1
Guest
OK umm how would i make a trigger that goes like this.
-Player has this amout of points(scoreboard)
-Player recieves these units


u know how mtg map was on bw i need know how to do it like that for wc3... sadly i have no idea how to do this on wc3 hehe i wish they had simple map editor =P i want be first one map the make cause i helpd with the first one on bw.
Any help would be greatly helpful.
08-08-2002, 11:34 PM#2
Guest
Well, first of all the score that the player recieves has to come from some sort of variable; either Gold, Lumber, or something else. If it's Gold/Lumber just use

Event -> Player Properties (Lumber/Gold) == Value

If it's not Gold/Lumber and instead stored as a separate variable, then create a trigger that runs every time the score board is updated. Put this in your scoreboard update trigger

Action -> Run Trigger Checking Condition (ScoreCheck)

Then make a trigger

---ScoreCheck----

Event -> None

Condition -> Variable(Score) is == Value

Action -> Actions taken
08-08-2002, 11:35 PM#3
Guest
Of course, if you only want the trigger of giving units to run ONCE, use

Action -> Turn Trigger Off (This Trigger) at the end of the ScoreCheck
08-09-2002, 07:03 AM#4
Guest
thx i think i can handle that =)