03-24-2009, 01:34 AM | #1 | |
Join Date: May 2007
Posts Rated Helpful 0 Times
|
How do you extinguish an ENV_FIRE?
I need some help on this one. I'm including the whole LUA but the command line that troubles me concerns ENV_FIRE entities. As you can see below I am triggering several entities after a flag capture. I want the "blue_cap_fire" to "StartFire" and then to "ExtinguishTemporary" one second after... I can't seem to get the fire to extinguish. Help is appreciated.
Quote:
|
|
|
03-24-2009, 01:44 AM | #2 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
You can use:
OutputEvent( entity, input, parameter, delay ) Code:
OutputEvent( "blue_cap_fire", "ExtinguishTemporary", "", 1 ) AddSchedule( schedule_id, duration, function, parameters, ... ) Code:
AddSchedule( "blue_cap_fire", 1, OutputEvent, "blue_cap_fire", "ExtinguishTemporary" )
__________________
#FF.Pickup ยค Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
03-24-2009, 03:19 AM | #3 |
no war but class war
Fortress Forever Staff
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout Gametype: ctf Affiliations: [w~k!] Posts Rated Helpful 3 Times
|
Beer.
/helpful |
|
03-24-2009, 04:09 AM | #4 | |
Join Date: May 2007
Posts Rated Helpful 0 Times
|
I am happy to say playing with your code and concluding that the "Extinguish" command is bugged...
I resolved to find a backdoor using disable and enable to extinguish it. Quote:
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|