gzdoom-gles/wadsrc/static/zscript/actors/shared/spark.zs
Christoph Oelckers 5229a84047 - deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound
# Conflicts:
#	wadsrc_extra/static/filter/harmony/decorate.txt
2020-01-07 19:36:57 +01:00

19 lines
No EOL
297 B
Text

class Spark : Actor
{
default
{
+NOSECTOR
+NOBLOCKMAP
+NOGRAVITY
+DONTSPLASH
}
override void Activate (Actor activator)
{
Super.Activate (activator);
DrawSplash (args[0] ? args[0] : 32, Angle, 1);
A_StartSound ("world/spark", CHAN_AUTO, CHANF_DEFAULT, 1, ATTN_STATIC);
}
}