News:

MFG's Character of the Month: September 2026 Voting

Main Menu

Need help with AssertSpecial

Started by daonlylonely, June 14, 2024, 11:38:26 AM

Previous topic - Next topic

daonlylonely

So I've kinda been dabbling with AssertSpecial and I'm trying to figure how to make the stage music start playing after the "FIGHT" icon goes away. I've tried RoundState = 1 but that makes it play when the "FIGHT" icon starts instead. Could someone point me in the right direction?

Manson Rees

#1
[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = !fvar(20) && RoundState < 3
trigger1 = 1 || fvar(20):= Ctrl
flag = NoMusic

.
In this code I used fvar(20), but you can change it as you like.

daonlylonely


daonlylonely

#3
Sorry, need a little help again but is there a way to make sure it only happens once which is at the start of the match though?

Manson Rees

Sure!
[State -2, AssertSpecial]
type = AssertSpecial
trigger1 = RoundNo = 1
trigger1 = !fvar(20) && RoundState < 3
trigger1 = 1 || fvar(20):= Ctrl
flag = NoMusic