footstep

Footstep component. Plays footsteps at parents location when it is appropriate.
Vars | |
e_range | e_range stands for extra range - aka how far the sound can be heard. This is added to the base value and ignored if there isn't a base value. |
---|---|
footstep_sounds | This can be a list OR a soundfile OR null. Determines whatever sound gets played. |
footstep_type | footstep_type is a define which determines what kind of sounds should get chosen. |
sound_vary | Whether or not to add variation to the sounds played |
steps | How many steps the parent has taken since the last time a footstep was played. |
volume | volume determines the extra volume of the footstep. This is multiplied by the base volume, should there be one. |
Procs | |
play_simplestep_machine | Prepares a footstep for machine walking |
prepare_step | Prepares a footstep. Determines if it should get played. Returns the turf it should get played on. Note that it is always a /turf/simulated/floor (eventually /turf/open) |
Var Details
e_range

e_range stands for extra range - aka how far the sound can be heard. This is added to the base value and ignored if there isn't a base value.
footstep_sounds

This can be a list OR a soundfile OR null. Determines whatever sound gets played.
footstep_type

footstep_type is a define which determines what kind of sounds should get chosen.
sound_vary

Whether or not to add variation to the sounds played
steps

How many steps the parent has taken since the last time a footstep was played.
volume

volume determines the extra volume of the footstep. This is multiplied by the base volume, should there be one.
Proc Details
play_simplestep_machine
Prepares a footstep for machine walking
prepare_step
Prepares a footstep. Determines if it should get played. Returns the turf it should get played on. Note that it is always a /turf/simulated/floor (eventually /turf/open)