Shining
Posts : 5028 Join date : 2013-03-26 Age : 44 Location : Italy
| Subject: toxin code problems October 7th 2019, 9:02 am | |
| why does Tigra breathe the toxin of the flower it creates another Groot? it creates double groot only when tigra jumps and breathes toxin there are following codes, what is wrong? PLEASE HELP ME : ;------------------------------------------------------------------------------- ; Kajukai [Statedef 1350] type = S movetype= I physics = N juggle = 1 velset = 0,0 ctrl = 0 anim = 1350+random%2 sprpriority = -1 [State 0, PosSet] type = PosSet trigger1 = time = 0 y = 5 [State 0, PlaySnd] type = PlaySnd trigger1 = time = 50 trigger2 = time > 50 && timemod = 100,0 value = S4,22 volume = 50 [State 0, Polvo] type = Helper trigger1 = time = 50 trigger2 = time > 50 && timemod = 100,0 helpertype = normal name = "Polvo" ID = 1370 stateno = 1370 pos = 100,-100 postype = p1 facing = 1 ownpal = 1 size.xscale = .5 size.yscale = .5 [State 0, VarSet] type = VarSet trigger1 = time = 0 v = 1 value = 0 [State 0, HitOverride] type = HitOverride trigger1 = 1 attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT stateno = 1360 time = 999999999 ignorehitpause = 1 [State 0, Humo] type = Explod trigger1 = time = 0 anim = 7110 ID = 7110 pos = 15,35 postype = p1 scale = .2,.2 sprpriority = 2 ontop = 1 ownpal = 1 [State 0, EnvShake] type = EnvShake trigger1 = time = 0 time = 30 [State 0, PlaySnd] type = PlaySnd trigger1 = time = 0 value = S4,42 volume = 50 [State 200, End] type = Changestate trigger1 = var(1) > 250 trigger2 = numhelper(33105) = 0 trigger3 = roundstate != 2 value = 1355 ;------------------------------------------------------------------------------- ; Helper Tiempo [Statedef 33105] type = S movetype= I physics = N juggle = 1 anim = 9999 [State 200, End] type = Destroyself trigger1 = time >= 1500 trigger2 = numhelper(1350) = 0 ;------------------------------------------------------------------------------- ; Kajukai - Fin [Statedef 1355] type = S movetype= I physics = N juggle = 1 velset = 0,0 ctrl = 0 sprpriority = -1 [State 0, NotHitBy] type = NotHitBy trigger1 = 1 value = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT time = 9999999 ignorehitpause = 1 [State 0, AngleDraw] type = AngleDraw trigger1 = 1 scale = 1-time*.1,1-time*.1 [State 0, Humo] type = Explod trigger1 = time = 0 anim = 7110 ID = 7110 pos = 15,30 postype = p1 scale = .2,.2 sprpriority = 2 ontop = 1 ownpal = 1 [State 0, EnvShake] type = EnvShake trigger1 = time = 0 time = 10 [State 0, PlaySnd] type = PlaySnd trigger1 = time = 0 value = S4,42 volume = 50 [State 200, End] type = Destroyself trigger1 = time = 10 ;------------------------------------------------------------------------------- ; Kajukai Golpeado [Statedef 1360] type = S movetype= A physics = N juggle = 1 velset = 0,0 ctrl = 0 sprpriority = -1 [State 0, PalFX] type = PalFX trigger1 = time = 0 time = 5 add = 100,0,0 [State 0, VarAdd] type = VarAdd trigger1 = time = 0 v = 1 value = gethitvar(damage) [State 0, HitOverride] type = HitOverride trigger1 = 1 attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT stateno = 1360 time = 999999999 ignorehitpause = 1 [State 200, End] type = Changestate trigger1 = hitover value = 1365 ;------------------------------------------------------------------------------- ; Kajukai Despues de Golpeado [Statedef 1365] type = S movetype= A physics = N juggle = 1 velset = 0,0 ctrl = 0 sprpriority = -1 [State 0, PlaySnd] type = PlaySnd trigger1 = time > 50 && timemod = 100,0 value = S4,22 volume = 50 [State 0, Polvo] type = Helper trigger1 = time > 50 && timemod = 100,0 helpertype = normal name = "Polvo" ID = 1370 stateno = 1370 pos = 100,-100 postype = p1 facing = 1 ownpal = 1 size.xscale = .5 size.yscale = .5 [State 0, HitOverride] type = HitOverride trigger1 = 1 attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT stateno = 1360 time = 999999999 ignorehitpause = 1 [State 200, End] type = Changestate trigger1 = var(1) > 250 trigger2 = numhelper(33105) = 0 trigger3 = roundstate != 2 value = 1355 ;------------------------------------------------------------------------------- ; Polvo [Statedef 1370] type = A movetype= H physics = N juggle = 1 velset = 0,0 ctrl = 0 anim = 1370 sprpriority = 2 [State 0, AngleDraw] type = AngleDraw trigger1 = 1 value = 0 scale = .5+time*.005,.5+time*.005 [State 0, VelSet] type = VelSet trigger1 = time = 0 x = 0 y = -1 [State 0, VelSet] type = VelSet trigger1 = time > 0 && timemod = 40,0 x = ifelse(random < 500,2,-2) y = ifelse(random < 500,2,-2) [State 0, Trans] type = Trans trigger1 = 1 trans = addalpha alpha = 256-var(1),256 [State 0, VarAdd] type = VarAdd trigger1 = time > 190 v = 1 value = 25 [State 0, AssertSpecial] type = AssertSpecial trigger1 = 1 flag = noshadow flag2 = unguardable ignorehitpause = 1 [State 200, 1] type = hitdef triggerall = !movecontact trigger1 = 1 attr = S, SP animtype = Light damage = 0 guardflag = MA pausetime = 0,0 sparkno = -1 guard.sparkno = -1 sparkxy = -8,-25 hitsound = -1 guardsound = -1 ground.type = High ground.slidetime = 10 ground.hittime = 10 ground.velocity = 0 air.velocity = 0 Fall = 0 numhits = 0 PalFX.time = 20 PalFX.add = 150,100,0 PalFX.mul = 200,200,100 PalFX.sinadd = 50,50,50,10 PalFX.invertall = 0 PalFX.color = 256 [State 0, TargetPowerAdd] type = TargetPowerAdd trigger1 = movehit = 1 value = -100 [State 200, End] type = Destroyself trigger1 = time = 200 ;=============================================================================== ;------------------------------------------------------------------------------- | |
|
Mistah Jorge
Posts : 2356 Join date : 2013-07-04 Age : 26 Location : Portugal
| Subject: Re: toxin code problems October 16th 2019, 3:30 pm | |
| I AM GROOT! (I can't see the problem this way, can you send me Groot? This way it's easier for me to check it out and see what's causing this problem.) | |
|