This object defines a vent (steam emitter).
|Games used||The SpongeBob SquarePants Movie|
Vents have 3 states:
- Idle - not shooting steam
- Warn - shoots a little steam to warn the player
- Damage - shoots steam at full blast and damages the player when they touch it
Vents have a damage area in the shape of a box, similar to a box TRIG. You can specify the lower and upper corners of the box, which are relative to the vent's origin/position and rotated by the vent's rotation.
|0x00||Asset ID||game_object:VentType||Vent type Asset ID|
|0x04||Vector3||Position||X, Y, Z|
|0x10||Vector3||Rotation||Yaw, Pitch, Roll|
|0x1C||Vector3||Damage box - lower corner||Lower corner offset of the damage box|
|0x28||Vector3||Damage box - upper corner||Upper corner offset of the damage box|
|0x34||float||boulderInfluence||How fast it will push boulders (SpongeBall, SpongeBowl, etc.) during the damage state|
|0x3C||float||Idle time||How long the vent will stay in idle state|
|0x40||float||Warn time||How long the vent will stay in warning state|
|0x44||float||Damage time||How long the vent will stay in damage state|
Sets the vent to idle state. Note: this is bugged, it doesn't stop the current sound. Use VentSetStateIdle instead.
Same as Reset.
Sets the vent to idle state.
Sets the vent to warning state.
Sets the vent to damage state.
Turns the vent off. You can send any VentSetStateXXX event to turn it back on.