• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Mana degeneration and then health degeneration

Status
Not open for further replies.
Level 2
Joined
Apr 27, 2013
Messages
19
A few years back, I was working on a old project called Wolf Legacy. It was my best project but looking back, it was really lacking and didn't have much replay value like say LOAP or Dark Deeds. I was still diving into the wonderful realm of triggers and now just three days ago, I decided to start working on WL's sequel Wolf Legacy Reborn. (Great title, I know. So original. Lawl.)

Its been a few years, four I think? I don't know but its been a very long time since I played around with triggers and I've been following tips from this site on how to use some of them. Now, I'm trying to implement a sort of hunger system much like Wolf Pack had but I'm hitting dead ends. I want the mana to decrease and then once it hits zero, to have the health to go down... I have other questions but I don't want to spam the site with all of them so I'll ask as I hit more and more dead ends. Here's the screen shot of the trigger thus far:

http://s1285.photobucket.com/user/L...Hungertrigger_zpsc5f72d12.png.html?sort=3&o=0

Can anyone please point me in the right direction? c:
 
Oh, thank you so much for the tip. And again, I just joined today so I'm still learning where and where not to post xD Hehe. I'll try that out now, thanks again Squiggy.
 
Just pick every unit you want, check for their mana and if it's greater than 0, decrease by whatever. If it's 0, decrease their health by whatever.

Oh and this belongs to Triggers & Scripts
Also, if I may ask Squiggy. Would all this selection stuff take place in the triggers? I'm sorry for pestering xD
 
Status
Not open for further replies.
Back
Top