HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit Life Above 100%

02-01-2004, 02:45 AM#1
MysticGeneral
Is there a way where I can set a unit's life above 100%? Would arithmetic formulas work? Like 100% + 10%? But anyways, like in tower defenses, where you can set difficulty and it affects the units life... Or do I have to set the unit's life to something high and set it to 50% from there?

Here's an example of what I think I should try...

Easy - 25 life
Normal - 50 life
Hard - 100 life

Would I have to set the unit's life at it's max (100) and then if he chooses hard, I'll set last created unit's life to 100%? Normal to 50%? And Easy to 25%? I'm not sure.
02-01-2004, 02:56 AM#2
johnfn
Your question is kinda confusing. hmm, lets start from the beginning.

Setting a units HP to greater then 100% doesnt make sense, first of all. Why would you want to do it? Just give him greater MAX HP in the first place.

Your other, somewhat hidden, question is asking whether setting a guys HP to 50% and then 50% again will actually set it to 25% percent of his total HP (50% of 50% is 25%). The answer is no, as far as i know. you set the percentage of his total HP. so if your guy has 100 HP total, and he's at 15, and you set his HP back to 100%, he has 100 HP again.

understand?

hmm, mighta confused myself thereemote_sweat. Read it a few times, youll get it.
02-01-2004, 03:09 AM#3
MysticGeneral
That was no help at all, you read my question totally wrong. Oh well.
02-01-2004, 04:12 AM#4
Narwanza
It is called player handicap. It works simply like this. If player 12 is the baddies a unit with 100 HP normally would have 200 HP if the player handicap of player 12 was increased to 200%.
02-01-2004, 06:01 AM#5
MysticGeneral
How would I do this? Player - Set player handicapp?
02-01-2004, 08:14 AM#6
Soultaker
Yes I think so