Taking damage from diffrent sources of fire.

Post » Mon Sep 19, 2011 9:38 am

So, anyone know how to make a script for this? In vanilla you can walk through a fireplace, and nothing happens. I know there's some other mods out there dealing with this issue, but I'd love to do it myself rather than copy :P
User avatar
Toby Green
 
Posts: 3365
Joined: Sun May 27, 2007 5:27 pm

Post » Mon Sep 19, 2011 9:04 pm

So, anyone know how to make a script for this? In vanilla you can walk through a fireplace, and nothing happens. I know there's some other mods out there dealing with this issue, but I'd love to do it myself rather than copy :P


You could attach a script to the fire that issues damage to the player as long as he's in/ on it. Or just add the lava script to them?
User avatar
Liv Staff
 
Posts: 3473
Joined: Wed Oct 25, 2006 10:51 pm

Post » Mon Sep 19, 2011 9:24 am

Yeah, it's fairly basic.

Begin HotFeetIf ( MenuMode == 0 )     HurtStandingActor, 5.0else     returnendifEnd


Attach that to the heat source.
User avatar
Rik Douglas
 
Posts: 3385
Joined: Sat Jul 07, 2007 1:40 pm


Return to III - Morrowind