Page 1 of 1

How to die on floor? [Solved]

Posted: Mon Sep 26, 2011 2:40 pm
by AhsokaTano
Ok, the title isn't specific...
I made a lava floor and i put it in my map:

Image
Image



I want my clones and droids to die when they touch the lava floor.

I know i need to change the lua files, but i dont know what i need to change there.

I hope you understand me.
If you can help me i will thank you.

Re: How to die on floor?

Posted: Mon Sep 26, 2011 3:17 pm
by AQT

Re: How to die on floor?

Posted: Mon Sep 26, 2011 3:17 pm
by yuke5
If you want to cause instant death, create a damage region. I tut can be found in the FAQ thred. If you simply want to cause damage, open up regions in zero editor, place a region, and select it. Once the region is selected, go to "Region Type" or something to that affect. Type in your desired value in the boxes, and place the region where you want units to take damage. I hope this helps! :thumbs:

Re: How to die on floor?

Posted: Mon Sep 26, 2011 4:07 pm
by Fiodis
yuke5 wrote:If you want to cause instant death, create a death region.
Fixed. Best not to get those two confused, as they work a bit differently.

Re: How to die on floor?

Posted: Mon Sep 26, 2011 7:54 pm
by yuke5
whoops. I was typing too fast. Thanks for the catch!

Re: How to die on floor?

Posted: Tue Sep 27, 2011 9:58 am
by AhsokaTano
Thanks for all!!!! It worked. Your answers always help me :D