YesNoOk
avatar

Movement before intro issue (Read 893 times)

Started by KingTempest, May 10, 2021, 12:41:48 am
Share this topic:
Movement before intro issue
#1  May 10, 2021, 12:41:48 am
  • avatar
    • USA
One of my characters consistently move before the start of the match. The intro code is below
Spoiler, click to toggle visibilty
Re: Movement before intro issue
#2  May 10, 2021, 10:43:12 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
add this to state 190


[State 191, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: Movement before intro issue
#3  May 10, 2021, 07:52:21 pm
  • avatar
    • USA
add this to state 190


[State 191, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro

For some reason it didn't work.
Btw, here's the common1.cns intro code as well in case
Spoiler, click to toggle visibilty
Last Edit: May 10, 2021, 10:48:48 pm by KingTempest
Re: Movement before intro issue
#4  May 10, 2021, 09:25:48 pm
  • ****
    • crepa.neocities.org
What do you mean by command intro?
Re: Movement before intro issue
#5  May 10, 2021, 10:48:33 pm
  • avatar
    • USA
What do you mean by command intro?

The sections involved with the "intro" under the common1.cns file

I meant to say common, not command, my bad
Re: Movement before intro issue
#6  May 10, 2021, 11:17:05 pm
  • ****
    • crepa.neocities.org
The intro in common1 will do nothing if you have an intro in your character. Anyway:

Code:
[State 190, 1]
type = ChangeState
trigger1 = animtime = 0
value = 191

Change that trigger1 to "time = 0".
Re: Movement before intro issue
#7  May 11, 2021, 12:08:16 am
  • avatar
    • USA
I changed it to "time = 0", still the same error.
Right after the intro, he starts punching (prior to the start).

Should I post the whole code?
Re: Movement before intro issue
#8  June 01, 2021, 10:59:41 pm
  • *****
  • Shame on you!
    • USA
Make sure you have anim 190.
As a test, change your changestate in 191 to something like time = 600 and see if the AI just takes over. It could be an AI issue in statedef -1.
vVv Ryuko718 Updated 10/31/22 vVv