forked from Mirrors/openclonk
Target ballon in tut 3 makes popping noise when shot
parent
69369aa59e
commit
5f3c881f19
|
@ -32,6 +32,7 @@ public func IsProjectileTarget(target,shooter)
|
||||||
public func OnProjectileHit()
|
public func OnProjectileHit()
|
||||||
{
|
{
|
||||||
CastParticles("Air",20,5,0,-10,170,190,RGB(255,255,255),RGB(255,255,255));
|
CastParticles("Air",20,5,0,-10,170,190,RGB(255,255,255),RGB(255,255,255));
|
||||||
|
Sound("BalloonPop");
|
||||||
RemoveObject();
|
RemoveObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue