0 Members and 1 Guest are viewing this topic.
actor BubblerAttack{obituary "????? it's a secret! Can't reveal it yet."-SOLIDPROJECTILE-NOGRAVITYDamage (15)Height 16Radius 20Scale 2.5gravity 1.0speed 15States{Spawn:BUBB A 4 BUBB A 0 A_GiveInventory("Clip",1)BUBB BCB 4loopDeath:TNT1 A 0 A_JumpIfInventory("Clip",1,"Continue")TNT1 A 1stopContinue:TNT1 A 0 A_CustomMissile("BubblerAttack",0,0,0,2,0)TNT1 A 1stop}}
Crash:TNT1 A 1Stop
Alright, new question.Suppose I put actual sprites in Crash instead of a transparent one. Would these sprites "play" when the Bubbler hits a player? I'm asking because I want the "foam" from the Bubbler to only play when it hits a player..
Crash is what happens when it hits a floor if I remember correctly.
How would I make a weapon's attack proportional to the user's HP? As in, I want to make an attack become stronger (or weaker) with a DIRECT ratio to the attacker's health. This means for every 1 HP I lose, my attack will become 1 point stronger/weaker.