collapse

Author Topic: playsnd Question  (Read 1082 times)

0 Members and 1 Guest are viewing this topic.

Offline Freestyle !

  • Initiate
  • **
  • Posts: 48
  • Country: United States us
  • Last Login:August 15, 2019, 08:24:20 AM
  • Hi! I'm new!!
playsnd Question
« on: September 18, 2017, 05:48:36 PM »
Hello,

I have a question is there a way to make a playsnd activate properly with a movehit command ?  :rules:

 example

type = HitDef
trigger1 = animelem = 2   
... etc.
hitsound = S5,2             
guardsound = S6,0

the above work correctly in the hitdef however I would like to use an **extra** sound only activated when the opponent is hit


[State 0, PlaySnd]
type = PlaySnd
trigger1 = movehit = 1
channel = 2
value = 5,6

When I use the code above the sound is late, is there another way to code the playsnd  to prevent lag or do you have any ideas or suggestions

 >:-(-|

Capcom Universe developed by Beximus uses a program that prevents people from accessing the raw files , I was wondering is there a tutorial for this , how is this done because I was interested in making a full game that would prevent accessing the raw file thx in advance ! 



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: playsnd Question
« Reply #1 on: September 19, 2017, 11:59:44 PM »
Ignorehitpause = 1
persistent = 0

Add both of them to it. First one means that it will ignore the pausetime parameter in the hitdef. Second will cause it only to trigger the once. If it needs to trigger more often because you have more than 1 hit that you want it to play on you need to alter how you do it a little.

Offline Freestyle !

  • Initiate
  • **
  • Posts: 48
  • Country: United States us
  • Last Login:August 15, 2019, 08:24:20 AM
  • Hi! I'm new!!
Re: playsnd Question
« Reply #2 on: September 20, 2017, 05:55:24 PM »
Thanks again Cyanide !

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

* IMT Calendar

April 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 [16] 17 18 19 20
21 22 23 24 25 26 27
28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal