playMaker

Author Topic: Editor Level Logic for Custom Actions (e.g. "OnEditor"?)  (Read 1865 times)

ciabaros

  • Playmaker Newbie
  • *
  • Posts: 13
Editor Level Logic for Custom Actions (e.g. "OnEditor"?)
« on: April 19, 2013, 11:55:18 AM »
The "Reset( )" on custom action is run when the Action is explicitly reset in the FSM Editor. Is there a way to do something similar, but instead of on reset, on change in the editor? I mean, is there a way to run action logic code when someone changes options (or even just touches) the action in the FSM editor?

This may quickly be a feature request, but I want to make sure it doesn't currently exist in some form first.

Background:
I want to alter a parameter array, based on other options selected. In my case, I want to define the types and number of parateters (FsmVar[] in action) when a user picks a public behaviour Method, for which I made a custom "CallMethodWithParameters" Action.

Thanks! (If I confirm it's not currently possible, I'll move it to Feature Requests)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Editor Level Logic for Custom Actions (e.g. "OnEditor"?)
« Reply #1 on: April 22, 2013, 01:33:07 AM »
Hi,

 I think it's coming on the next playmaker release! :)

bye,

 Jean