YesNoOk
avatar

Need help with AssertSpecial (Read 11405 times)

Started by daonlylonely, June 14, 2024, 11:38:26 am
Share this topic:
Need help with AssertSpecial
#1  June 14, 2024, 11:38:26 am
  • **
    • USA
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?
Re: Need help with AssertSpecial
#2  June 14, 2024, 11:16:44 pm
  • **
  • Sr. Símio Enfermo
    • Brazil
    • mansonrees.neocities.org
Code:
[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.
Last Edit: June 14, 2024, 11:28:49 pm by Manson Rees
Re: Need help with AssertSpecial
#3  June 15, 2024, 11:12:17 am
  • **
    • USA
Thanks for the help!
Re: Need help with AssertSpecial
#4  June 15, 2024, 12:45:27 pm
  • **
    • USA
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?
Last Edit: June 15, 2024, 02:59:00 pm by daonlylonely
Re: Need help with AssertSpecial
#5  June 15, 2024, 03:42:23 pm
  • **
  • Sr. Símio Enfermo
    • Brazil
    • mansonrees.neocities.org
Sure!
Code:
[State -2, AssertSpecial]
type = AssertSpecial
trigger1 = RoundNo = 1
trigger1 = !fvar(20) && RoundState < 3
trigger1 = 1 || fvar(20):= Ctrl
flag = NoMusic
Re: Need help with AssertSpecial
#6  June 15, 2024, 03:59:58 pm
  • **
    • USA
Muito obrigado :D