Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Fireplaces and fires.  (Read 993 times)

0 Members and 1 Guest are viewing this topic.

Abe

  • Guest
Fireplaces and fires.
« 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.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Fireplaces and fires.
« Reply #1 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.  

Plenty of reviewed ArmA missions for you to play

Abe

  • Guest
Re:Fireplaces and fires.
« Reply #2 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.