playMaker

Author Topic: Creating new start states?  (Read 438 times)

nelsonn

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
    • check out my portfolio :)
Creating new start states?
« on: January 18, 2016, 06:14:50 AM »
Hi there,

I keep seeing things like this:


There's a Start state and another dark grey state. I have no idea how to create those. Can anyone help me with this?
Apologies if that's a really stupid question btw ;)

mdotstrange

  • Hero Member
  • *****
  • Posts: 549
    • View Profile
    • Can't code? Who cares! Make games anyway!
Re: Creating new start states?
« Reply #1 on: January 18, 2016, 06:32:53 AM »
Those are global transitions- just right click on a state and choose something in the global transition menu-

They are used when you want to fire a state from another FSM
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

nelsonn

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
    • check out my portfolio :)
Re: Creating new start states?
« Reply #2 on: January 18, 2016, 07:09:54 AM »
Ah, I see. Thanks a lot :)

nelsonn

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
    • check out my portfolio :)
Re: Creating new start states?
« Reply #3 on: January 18, 2016, 08:05:33 AM »
Can I trigger these global transitions straight from let's say a Bool Test somehow?

mdotstrange

  • Hero Member
  • *****
  • Posts: 549
    • View Profile
    • Can't code? Who cares! Make games anyway!
Re: Creating new start states?
« Reply #4 on: January 18, 2016, 04:49:51 PM »
Yes you can- you trigger them by using the "Send event" action- so any state you choose can send events and trigger that global transition by name
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!