playMaker

Author Topic: Able to paste FSM Templates via script?  (Read 609 times)

BrodyBr

  • Playmaker Newbie
  • *
  • Posts: 1
Able to paste FSM Templates via script?
« on: September 01, 2020, 05:12:30 PM »
Hey there!

I found an old thread relating to this from 5 years ago, but seeing that it's from so long ago perhaps the answer has changed.

For our toolchain, I want to create an object from scratch, add a new PlayMakerFSM component, and paste in (not reference) a FSMTemplate so that it's a unique state machine in the scene. This way, we can easily edit the template, and future objects created from it use that updated template.

Doing this in a prefab would be less ideal as it wouldn't be easily accessible in the Template Browser.

Is this possible?

Thanks!