From dae7a16d20092e678eec6734d082da03343c5083 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Fri, 23 Aug 2024 21:25:33 +0200 Subject: Fix loud lavashot sound --- .../Lavashot.c4d/Shot.c4d/Script.c | 47 +++++++++++----------- 1 file changed, 23 insertions(+), 24 deletions(-) (limited to 'TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Lavashot.c4d/Shot.c4d/Script.c') diff --git a/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Lavashot.c4d/Shot.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Lavashot.c4d/Shot.c4d/Script.c index 61bfea9..a42a23c 100644 --- a/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Lavashot.c4d/Shot.c4d/Script.c +++ b/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/Lavashot.c4d/Shot.c4d/Script.c @@ -12,7 +12,7 @@ func Initialize() { //Killtrace Effect AddEffect("KillTraceHelper",this(),175,0,this(),GetID(this())); } - + /* Aktivierung */ public func Activate(iStartX, iStartY, iAdvanceX, iRandomX, iAdvanceY, iRandomY) @@ -42,28 +42,28 @@ public func Launch(pClonk, iDir, iX, iY, iAngle) private func Timer() { - + var i=0; var pObject = FindObject(0,-2,-2,4,4,OCF_Inflammable); - if(pObject) - if(pObject != pCaster) { + if(pObject) + if(pObject != pCaster) { //Nicht benötigt, macht Query Catch Blow - //if(GetEffect("KillSymbols",pObject)) SetKillSymbols(pObject,GetEffect("KillSymbols",pObject),DFLM,GetEffect("KillTraceHelper",this())); + //if(GetEffect("KillSymbols",pObject)) SetKillSymbols(pObject,GetEffect("KillSymbols",pObject),DFLM,GetEffect("KillTraceHelper",this())); Incinerate(pObject); } // Partikel-Effekt while(i