OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CopyrightPhilly on 18 Jun 2004, 16:01:57

Title: Disable Menu?
Post by: CopyrightPhilly on 18 Jun 2004, 16:01:57
yo

anyideas how i would disable the menu to put out a fire? i still want the playes be able to pick up weapons ect

thanks in any help

cheers, Philly
Title: Re:Disable Menu?
Post by: macguba on 18 Jun 2004, 16:57:54
Can't be done.

Why do you want to do this anyway?

The usual fix for this one is to run a looping script that relights the fire as soon as it gets put out.
Title: Re:Disable Menu?
Post by: CopyrightPhilly on 19 Jun 2004, 00:57:49
yea it was because i have the runway lights addon and i dont want the users to be able to turn the lights off on it.

thanks anyways

cheers, Philly
Title: Re:Disable Menu?
Post by: macguba on 19 Jun 2004, 11:23:30
Ah, well that's different.   Possibly.  If its an addon you may be able to remove the action with, you've guessed it, a removeAction command.       You'd need to fine the action ID in question, and depending on how the addon was made it still may not work.