YesNoOk
avatar

Putting sounds on message + Making chars use lifebar hitsounds (Read 2727 times)

Started by -Ash-, May 31, 2016, 02:12:45 am
Share this topic:
Putting sounds on message + Making chars use lifebar hitsounds
New #1  May 31, 2016, 02:12:45 am
  • ****
  • Hoping for the best, prepared for the worst.
  • 2D Fighting games forever!
    • Brazil
so... i'm trying to put a sound in the "down!!" message of add004 svc lifebar

my first attempt was to copy and paste this code

;sys::sound_down
[state 0]
   type=playsnd
   triggerall=var(38)<99999999 && roundstate=2 && numpartner && win=0 && lose=0
   trigger1=(var(8 )&512) && playerid(var(15)),alive=0 ;; system_switch
   value=f10500,0
   channel=1
   abspan=ifelse(teamside=1,-1,1)*facing*320

It kinda worked, but only triggers when p2 char dies, and i want to make the sound trigger when p1 char dies too.

any clue on that? sorry if it sounds confusing, i have no ideia on what i was doing.




Edit: I want to know if its possible to make all my chars use the hitsounds from lifebar's common.snd instead of their own.
Lasagna
Last Edit: June 05, 2016, 02:56:36 am by -Ash-
Re: Putting sounds on message + Making chars use lifebar hitsounds
#2  June 05, 2016, 02:49:53 am
  • ****
  • Hoping for the best, prepared for the worst.
  • 2D Fighting games forever!
    • Brazil
a little bump on this.
Lasagna