playMaker

Author Topic: Custom Transitions? [SOLVED]  (Read 3213 times)

MattyWS

  • Junior Playmaker
  • **
  • Posts: 90
Custom Transitions? [SOLVED]
« on: July 27, 2013, 06:57:03 PM »
Hello all, I'm new to PlayMaker and I'm just wondering if it's possible to make custom transitions. I need to make a timer to change states but it seems theres no default and I'm not sure how to go about it.

Any help would be great thanks ^^
« Last Edit: July 28, 2013, 01:46:05 PM by MattyWS »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Custom Transitions?
« Reply #1 on: July 27, 2013, 08:55:01 PM »
Do you mean custom event?

A transition is a link to another state triggered by an event.

You can make new events in the Events tab of the Playmaker editor. You can then use these events in any action that sends an event.

But there are also built in events that are very handy. For example, in your scenario you could use a Wait action and the FINISHED event that is sent automatically when all actions on a state have finished.

MattyWS

  • Junior Playmaker
  • **
  • Posts: 90
Re: Custom Transitions?
« Reply #2 on: July 28, 2013, 01:45:30 PM »
Ahh yes that is exactly what I meant. Thanks! Timer worked, only problem now is instantiating a new gameobject at it's pivot point but that's an issue for another time. :)

Thanks again!