playMaker

Author Topic: Help with managing items with Playmaker  (Read 1549 times)

mn6000

  • Playmaker Newbie
  • *
  • Posts: 17
Help with managing items with Playmaker
« on: November 25, 2016, 07:27:33 PM »
As I add new items  to the game I  have to manually update 20 or more states with new events and actions. This becomes tiresome and error prone so I'm looking for an alternative.

Even with templates there are a lot of unnecessary manual steps.

I've looked int custom actions which work great but I can't figure out how to assign a specific string to a pulldown for an fsm event or generate an event using editor commands or at runtime.

Has anyone encountered automation challenges like this with PM? How did you solve them?

Here's an example of the fsm state with the int switch I'm trying to extend.

Thanks.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Help with managing items with Playmaker
« Reply #1 on: November 26, 2016, 04:54:03 PM »
Hi,
You could work with some arrays, depending on what your next states do.
i am recently rebuilding an old game i had my level manager with 60 level made with 60 transitions.


now i have only this :



You will need this custom action 'uGuiGetSelectedGameObject' from the Ecosystem

I made a quick video explaining a bit more :