playMaker

Author Topic: How to find out, which PM version I need?  (Read 1156 times)

DerDicke

  • Playmaker Newbie
  • *
  • Posts: 3
How to find out, which PM version I need?
« on: June 08, 2018, 12:56:22 PM »
Hey guys,

first of all, thanks for making PlayMaker. It really hits a nail. 
I'm working on an AI for Asset Store that supports PM. Because i want to make my tool available for biggest audience possible, i need to find out which earliest PM version my tool needs.

My PM support is pretty basic. All i use is:
public class MyClass : FsmStateAction, FsmStateAction.Fsm.Name (read only),
FsmObject.Value (read and write),  fsm.Fsm.Event("MyEventName");

So is it safe to check for "#if PLAYMAKER" or were there any Api changes for these objects?

Thanks so far.

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: How to find out, which PM version I need?
« Reply #1 on: June 08, 2018, 11:28:55 PM »
All current version of playmaker will support that.

I would suggest just using the newest version 1.9. Yes, #if PLAYMAKER should be sufficient.

Many asset creators also just put the playmaker actions (scripts) into a seperate folder and package it as an asset. If users have playmaker, then they can just double click the asset to unpack it.

If you need some help implementing the actions/testing it, please let me know. I wrote integration actions for textmesh pro, VRTK, X weapon trails, various outline packages, post process stack v1, etc. You can shoot me an email at tcmeric@gmail.com or find me on our playmaker slack chat: https://invite-playmaker-slack.herokuapp.com

DerDicke

  • Playmaker Newbie
  • *
  • Posts: 3
Re: How to find out, which PM version I need?
« Reply #2 on: June 10, 2018, 05:57:10 AM »
Offering a PM support package might be a good idea, I'll be considering.

Integration is already done. Wasn't too hard. I only needed a way to "Start" a SM state machine (did it using events) and a way to call an AI- function on a GameObjs script (wrote a FsmStateAction to do this).

Thanks for your help!