playMaker

Author Topic: State won't finish [SOLVED]  (Read 564 times)

uglymug11

  • Playmaker Newbie
  • *
  • Posts: 2
State won't finish [SOLVED]
« on: September 22, 2021, 04:41:08 PM »
Hi,

I have a very frustrating problem.  I feel I'm  missing something fundamental and easy to fix but I just can't solve it.  Any help would be greatly appreciated.

Let me distill the issue.

Imagine 3 states...

State1
State2
State3

They all have a finish event on them and they are chained together (in that order).

Now the middle state (state2) has no actions in it and flow passes through it just fine.  If I put some simple actions in state 2 such as set float value then again it works as I expect it should.

However if I put the action 'Draw Fullscreen Color' in to the state then the flow just stops at that state; the finish event isn't called and it doesn't flow to the next state.

I'm stumped, any ideas guys?

Thanks in advance
« Last Edit: September 24, 2021, 03:12:07 PM by uglymug11 »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: State won't finish
« Reply #1 on: September 22, 2021, 05:04:12 PM »
Hi.
The action does not to have a 'Finish' event as it does a ONGUI method.
try adding a wait and use a different transition (not FINISHED)
or use a Send event.

This is from the outdated unity gui.
i would suggest using the Canvas UI instead.


uglymug11

  • Playmaker Newbie
  • *
  • Posts: 2
Re: State won't finish
« Reply #2 on: September 22, 2021, 05:12:10 PM »
Thanks for the quick response.  I'm not near my pc at the moment but will try in the morning and update this post if itcresolves the issue. 

Thanks again