OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Abe on 13 Sep 2005, 15:37:04

Title: Fireplaces and fires.
Post by: Abe on 13 Sep 2005, 15:37:04
Sorry if this seems a really obvious question, but it's been bugging me for ages.

I'm slowly getting the hang of all this scripting stuff, but i cant get my fires and fireplaces to start off already alight.  ???
I downloaded The BIS Command Reference thing and found (what i think is) the script for it.  I'm putting it into the Init field, made sure the fire was names fireplaceOne but nothing's happening!

fireplaceOne inflame true

Am I doing something wrong?  :(
Thanx for the help.
Title: Re:Fireplaces and fires.
Post by: macguba on 13 Sep 2005, 16:06:33
Hmmm .. it should work.   Check that  you have typed the name correctly in both places.

You don't actually need to name something if you are giving it commands in its init line.   You can use "this" instead

this inFlame true

in the init line of a fireplace should make it light.   Give it a try.  

Title: Re:Fireplaces and fires.
Post by: Abe on 13 Sep 2005, 17:43:18
Thanx.
I did it with "this" and it seems to be working now.  I'm not sure why it wasnt working before (knowing me I was probably putting it in the "condition" field  ???)
Thanx for the help Macguba.