collapse

Author Topic: playsnd Question  (Read 1390 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

D2TD VS Showcase Thread by D2TD
[November 24, 2024, 09:12:03 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 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