OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: armymanbronson on 17 Oct 2002, 13:08:15

Title: Player Unable To Put Out Fire
Post by: armymanbronson on 17 Oct 2002, 13:08:15
Hey Guys  ;D i was wondering if anyone knew if it's possible to say put a fire in the game, like cat's fires. and make sure the player cant put them out, like it doesnt give him the option. is it possible or am i the king of wishful thinking?
saty cool
bronson
Title: Re:Player Unable To Put Out Fire
Post by: seanver on 17 Oct 2002, 19:52:44
Since my English is still limited, I didn't understand the thing about cat's fires. Anyway, I assume you want to put a fire on and don't let the player to put it out. Ok, I don't think that the command can be removed, but we can make a script to check whether or not the fire is out, and if it is so, light it again:

Code: [Select]
#loop

? !(inflamed firename) : goto "lightit"

~0.05

goto "loop"

#lightit

firename inflame true

goto "loop"