You must be logged in to post messages.
Please login or register

Scenario Design and Discussion
Moderated by Sebastien, Mr Wednesday

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: 'zombie' unit
posted 02-25-04 01:43 PM CT (US)   
I found this out with the hp and damage effects.The unit is unkillable!I then messed up the scenario and couldn't figure out how to get it back.PPlease help!
Replies:
posted 02-25-04 03:14 PM CT (US)     1 / 10  
posted 02-25-04 03:17 PM CT (US)     2 / 10  
Old trick.

ax_man1

Owner of a post 500, 1000, 1500, 2000, and 2500
Not all are in the same thread, but 4 of them are
posted 02-26-04 03:39 PM CT (US)     3 / 10  
How do you do the sum thingy?????
posted 02-27-04 08:36 AM CT (US)     4 / 10  

Example for a champion with 70 hp

Trigger 1
Looping: off
Effect0 Change object HP -70
Effect1 Damage object -70
Effect2 Change object HP 70
Effect3 Damage object 70

Alter the Hp numbers to what ever the maximum hp is for the unit you are using. And don't click on the effects with a minus number after the trigger is set, otherwise they will reset to 0 and the trigger won't work.

posted 02-27-04 09:23 AM CT (US)     5 / 10  
The other way to do this is (let x as the maxium hitpoint of the unit):

Trigger 1
Looping: off
Effect0 Change object HP -x
Effect1 Damage object -1
Effect2 Change object HP x

However, if you DON'T KNOW the maxium HP of the unit or if it is a GAIA unit like tree, you can try:

Trigger 1
Looping: on
Effect0 Damage object 2147483648
Effect1 Damage object 2147483648
Effect2 Damage object 2147483648
Effect3 Damage object 2147483648
Effect4 Damage object 2147483648
Effect5 Damage object 2147483648
Effect6 Damage object 2147483648
Effect7 Damage object 2147483648
Effect8 Damage object 2147483648
Effect9 Damage object 2147483648
.
.
.
Effect1023 Damage object 2147483648

P.S.: Should you don't want to set up such a large number(1024) of trigger effects, you can ask the help of "timer" and "looping".

Both method will make the unit become invincible.(However, at some cases with the second solution, the unit or building won't have their hitpoint shown as 0/x.)

[This message has been edited by scenario_t_c (edited 02-28-2004 @ 02:13 PM).]

posted 02-27-04 09:38 AM CT (US)     6 / 10  
to reverse the zombie unit:

Condition (as you wish)
Effect 0: kill object (zombie)
Effect 1: Change Object HP = - (unit HP)

posted 02-27-04 10:00 AM CT (US)     7 / 10  

Quote:

Effect 1: Change Object HP = - (unit HP)

You mean Damage object with a minus number

posted 02-27-04 03:22 PM CT (US)     8 / 10  
How do you put in the -?????I can't even when i copy it with ctrl+c.
posted 02-27-04 04:17 PM CT (US)     9 / 10  
You have to right click and click paste.

zyxomma100- Age of Kings Heaven forumer
Proudly thwarting Dark_Aro's evil plans since 2002
"There is nothing more sad than watching a teutonic knight chasing a petard."
posted 02-28-04 01:16 PM CT (US)     10 / 10  
oh ok...Jerker your trigger:

Trigger 1
Looping: off
Effect0 Change object HP -70
Effect1 Damage object -70
Effect2 Change object HP 70
Effect3 Damage object 70

was the one I used.Just sayiing

[This message has been edited by Derek the dark (edited 02-28-2004 @ 01:23 PM).]

Age of Kings Heaven » Forums » Scenario Design and Discussion » 'zombie' unit
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Kings Heaven | HeavenGames