collapse

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

Ancient Gears Stage 1.1 & 1.0 by MatreroG
[Today at 11:59:18 AM]


Classic VS : Balrog by ELECTRO
[September 17, 2024, 04:48:07 PM]


Justice League Metropolis Stage by Vegaz by LightFlare
[September 16, 2024, 11:57:49 AM]


Ultimate Mai Shiranui (FF2 & FF3) by nickfurry
[September 15, 2024, 02:27:53 AM]


thunderstrike eric masterson by Blagoy
[September 12, 2024, 02:41:33 PM]


Justice League Gotham Stage by Vegaz by LightFlare
[September 11, 2024, 09:41:42 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[September 07, 2024, 03:06:46 AM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[September 06, 2024, 01:27:09 PM]


Justice League Flash Stage by Vegaz by LightFlare
[September 03, 2024, 10:30:40 AM]


Raid's here! Raid kills fighters dead in MUGEN! by GTFoxN6Y
[August 31, 2024, 02:44:15 PM]

* IMT Calendar

September 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