• 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.

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:
 
Level 2
Joined
Apr 27, 2013
Messages
19
Sorry, I just joined this site literally today so I'm still learning ^^; Nooby mistake, I apologize Zakamutt.
 
Level 2
Joined
Apr 27, 2013
Messages
19
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.
 
Level 2
Joined
Apr 27, 2013
Messages
19
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.
Top