PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
Noise.c File Reference

Data Structures

class  NoiseSystem
 

Functions

class NoiseSystem NoiseParams ()
 
private void NoiseSystem ()
 
private void ~NoiseSystem ()
 
proto void AddNoise (EntityAI source_entity, NoiseParams noise_params, float external_strenght_multiplier=1.0)
 
proto void AddNoisePos (EntityAI source_entity, vector pos, NoiseParams noise_params, float external_strenght_multiplier=1.0)
 
proto void AddNoiseTarget (vector pos, float lifetime, NoiseParams noise_params, float external_strength_multiplier=1.0)
 Will make a noise at that position which the AI will "see" for the duration of 'lifetime'.
 
proto native void Load (string noise_name)
 
proto native void LoadFromPath (string noise_path)
 

Function Documentation

◆ AddNoise()

proto void AddNoise ( EntityAI  source_entity,
NoiseParams  noise_params,
float  external_strenght_multiplier = 1.0 
)

◆ AddNoisePos()

proto void AddNoisePos ( EntityAI  source_entity,
vector  pos,
NoiseParams  noise_params,
float  external_strenght_multiplier = 1.0 
)

◆ AddNoiseTarget()

proto void AddNoiseTarget ( vector  pos,
float  lifetime,
NoiseParams  noise_params,
float  external_strength_multiplier = 1.0 
)

Will make a noise at that position which the AI will "see" for the duration of 'lifetime'.

◆ Load()

proto native void Load ( string  noise_name)

◆ LoadFromPath()

proto native void LoadFromPath ( string  noise_path)

◆ NoiseParams()

◆ NoiseSystem()

private void NoiseSystem ( )

◆ ~NoiseSystem()

private void ~NoiseSystem ( )