Jump to content

Home

How do u make invinsible/undestructible walls?


Recommended Posts

I was just wondering, how do u make undefeatable walls...u can make the wall have 9999 hp...but u can still destroy it.

 

Also, in the scenario Maul Clones; if u attack the walls, they regenerate back to full hp...how do u do that?

 

I even tried to look in the scenario editor, but he has:

 

Trigger - Undefeatable Walls

Effect - damage object (walls in area), quantity 250

- damage object (walls in area), quantity 0

 

All that does it slowly dmg the walls in that area until they are at 0 hp...or am i doing something wrong, and that's right?

 

Anyways...thnx for helping out if u can.

 

:fett:

Link to comment
Share on other sites

Well firstly, to get invisible walls, use the Undefeatable objects, and use them to make the wall.

 

With regards to the self regenerating walls. I believe it means, that if the wall looses 250 points, then reset its damage to zero(in other words undamaged)

 

Koenig

Link to comment
Share on other sites

  • 2 weeks later...

Thanks a lot for the input, but I'd still like to know how to make it regenerate...i use:

Loop:

dmg objects, quant=250

dmg objects, quant=0

all the does it destroy object (slowly)....so that doesn't work.

 

and another thing is the undefetable object (unit) doesn't work...i place it on my wall but u can still destroy it.

 

plz help me with regeneration walls...cause i'd really appreciate that over just giving it 9999hp

Link to comment
Share on other sites

You could create a computer controlled player who is everyone's ally and use this player to create the walls.

(Actually you have to make everyone regard this player as an ally)

 

As they are allied to everyone, no-one will attack them

and so the walls never take any damage.

 

You should lock out changing allies or have a looping trigger that forces everyone into the situation.

 

To stop the player from "resigning" straight away (assuming you don't give them any command base or workers) then you could hide a hero away. The computer won't move a hero unless it is attacked and also shouldn't resign.

 

Hope this helps.

Link to comment
Share on other sites

Actually, I am interested to know about the DamageObject 0 points idea.

 

I have seen this used elsewhere (where it works) but when I try it, I just destroy the object.

 

I must be missing something, I am interested in a method of "restoring health" without increasing the base number of hitpoints.

 

Anyone know the secret? :confused:

 

:D Okay - just worked out the answer.

The "secondary" damage is not zero at all. It is a "negative"

damage. There is a quirk that if you view a negative value it displays as zero.

 

So, the trick is:

 

Effect0: DamageObject HvyWall 3000

Effect1: DamageObject HvyWall -3000

 

The value you use must be at least the max value of HP

What happens is that you cannot damage below 0 HP

so the first effect takes you to zero (normally dead)

but death is not invoked until after the trigger has finished

so you quickly heal back up to the max amount again in the

same trigger.

Note: You have to paste in the minus sign using Shift-Insert

 

May the Force be with you.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...