Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MattyWS on July 27, 2013, 06:57:03 PM

Title: Custom Transitions? [SOLVED]
Post by: MattyWS 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 ^^
Title: Re: Custom Transitions?
Post by: Alex Chouls 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.
Title: Re: Custom Transitions?
Post by: MattyWS 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!