Post your scripting questions / solutions here
Moderator: Moderators
Bruno =Fs=
Lance Corporal
Posts: 12 Joined: Fri Mar 07, 2003 6:47 pm
Contact:
Post
by Bruno =Fs= » Sun Jan 18, 2004 10:26 pm
Hello, i would like to add fire damage to an existing map. I'll use mohdm2 as an example. I know i should exec the firedeath.scr, at the beginning of the map.scr what would be the exec command at the beginning of the map script and under:
local.fireandsmoke = spawn script_model
local.fireandsmoke model "emitters/fireandsmoke.tik"
local.fireandsmoke.origin = ( -993.57 -2986.05 -73.88)
local.fireandsmoke.angles = (0.00 0.00 0.00)
local.fireandsmoke notsolid
I'd appreciate any help. Thanks in advance.
"chance favors the prepared mind"
bdbodger
Moderator
Posts: 2596 Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:
Post
by bdbodger » Mon Jan 19, 2004 9:56 am
Maybe spawn a trigger_multiple and give it a key of setthread and value of fire_hurt and have a thread in the level.script such as
fire_hurt:
self volumedamage 10
end