Playmaker Forum

PlayMaker News => General Discussion => Topic started by: alexlange on February 01, 2014, 10:24:28 PM

Title: How to write a PlayMaker extension/add-on?
Post by: alexlange on February 01, 2014, 10:24:28 PM
Hi
I see lots of add-ons available in manual page, is there any tutorial about how to make it, where should I start? Thank you.
Title: Re: How to write a PlayMaker extension/add-on?
Post by: Marsh on February 02, 2014, 07:13:30 AM
Just open up a action that is already provided with PlayMaker. Study how it works. Strip it down to the very base so that it just Starts and Finishes. Then go find a feature that PlayMaker does not currently contain. Add the code to your action.  If you cant do this you probably cannot make any new custom actions.

You could still make a PlayMaker project of some kind to teach people how to do something complicated. Or some FSMs that make things easier.
Title: Re: How to write a PlayMaker extension/add-on?
Post by: jeanfabre on February 03, 2014, 07:36:40 AM
sigh...

 I really want to start a wiki page on action scripting. It's not difficult at all, just some basic things to cover and you are good to go, but never seem to find the time to do it!

As Marsh said, it's really a matter of opening existing actions and copy pasting... but yes, a proper document would be best of course.

Bye,

 Jean
Title: Re: How to write a PlayMaker extension/add-on?
Post by: Alex Chouls on February 03, 2014, 01:53:07 PM
There are also some API docs here:
https://hutonggames.fogbugz.com/default.asp?W127

And some docs on writing custom actions:
https://hutonggames.fogbugz.com/default.asp?W166

But we could definitely use more docs/walkthroughs....