HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is there a way to...

07-18-2003, 08:45 PM#1
Cog
Make it so my villagers lose 1hp per second?

Or so that when there mana reaches a certain point, then they die?

Help welcome :ggani:
07-18-2003, 08:55 PM#2
HeX-MapMaker
There sure is a way! The idea here is that you want to make all villagers loose a hit point periodically -- every 1 second.

Only one trigger is needed for this. Fortunately, no variables are needed.

Trigger 1: LossOfLife
Events:
&nbsp&nbsp&nbspTime - Every 1.00 seconds of game time
Conditions:
Actions:
&nbsp&nbsp&nbspUnit Group - Pick every unit in (Units of type Villager) and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 1.00))
07-18-2003, 10:02 PM#3
Cog
I was looking along those lines but I wasn't sure how to do it, :ggani: Thanks a bunch!