playMaker

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

MattyWS

  • Junior Playmaker
  • **
  • Posts: 76
    • View Profile
Custom Transitions? [SOLVED]
« on: July 27, 2013, 03: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, 10:46:05 AM by MattyWS »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3634
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Custom Transitions?
« Reply #1 on: July 27, 2013, 05: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: 76
    • View Profile
Re: Custom Transitions?
« Reply #2 on: July 28, 2013, 10:45:30 AM »
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!