Env extinguisherjet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(delete or figure out what is it)
(Cleanup)
Line 8: Line 8:


==KeyValues==
==KeyValues==
{{KV Targetname}}
{{KV|Length|intn=length|integer}}
{{KV|Size of jet|intn=size|integer}}
{{KV|Radius of extinguishment at impact point|intn=radius|integer}}
{{KV|Strength of the extinguisher|intn=strength|float}}
{{KV|Start On|intn=enabled|boolean|
:*0: No
:*1: Yes}}


{{KV Angles}}
==Inputs==
 
{{I|Enable|Enables the extinguisher}}
{{KV Parentname}}
{{I|Disable|Disables the extinguisher}}
{{todo|properly add model, animation group, and random sequence 1 and 2}}
{{I|Enable|Toggles the extinguisher}}
 
{{KV|Length|integer|Length - Default: 128}}


{{KV|Size of jet|integer|Size - Default: 8}}
== FGD Code ==
 
<source lang=cpp>
{{KV|Radius of extinguishment at impact point|integer|Radius - Default: 32}}
@PointClass base(Targetname, Parentname, Angles) = env_extinguisherjet : "Fire Extinguisher Jet"
 
[
{{KV|Strength of the extinguisher|float|Strenght - Default: 0.97}}
length(integer) : "Length" : 128
 
size(integer) : "Size of jet" : 8
==Inputs==
radius(integer) : "Radius of extinguishment at impact point" : 32
{{I Targetname}}
strength(float) : "Strength of the extinguisher" : "0.97"
enabled(choices) : "Start On" : 1 =
[
0 : "No"
1 : "Yes"
]


{{I Parentname}}
input Enable(void) : "Enables the extinguisher"
{{ScrollBox|title=AirstrikeOutdoors|
input Disable(void) : "Disables the extinguisher"
; DoEffect
input Toggle(void) : "Toggles the extinguisher"
: Do the effect one time
]
}}
</source>


==Outputs==
== See Also ==
{{O Targetname}}
* {{ent|weapon_extinguisher}}


[[Category:Entities]]
[[Category:Entities]]

Revision as of 20:50, 10 June 2025

Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
What is this from ?
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

Entity description

Fire Extinguisher Jet.

KeyValues

Length (length) <integer>
Size of jet (size) <integer>
Radius of extinguishment at impact point (radius) <integer>
Strength of the extinguisher (strength) <float>
Start On (enabled) <boolean>
  • 0: No
  • 1: Yes

Inputs

Enable
Enables the extinguisher
Disable
Disables the extinguisher
Enable
Toggles the extinguisher

FGD Code

@PointClass base(Targetname, Parentname, Angles) = env_extinguisherjet : "Fire Extinguisher Jet"
[
	length(integer) : "Length" : 128
	size(integer)	: "Size of jet" : 8
	radius(integer)	: "Radius of extinguishment at impact point" : 32
	strength(float)	: "Strength of the extinguisher" : "0.97"
	
	enabled(choices) : "Start On" : 1 =
	[
		0 : "No"
		1 : "Yes"
	]

	input Enable(void) : "Enables the extinguisher"
	input Disable(void) : "Disables the extinguisher"
	input Toggle(void) : "Toggles the extinguisher"
]

See Also