playMaker

Author Topic: Cannot drag behaviour in behaviour field for "Call Method" if in template.  (Read 2455 times)

louismg

  • Playmaker Newbie
  • *
  • Posts: 13
As mentioned in this post:

http://hutonggames.com/playmakerforum/index.php?topic=4795.0

I found out that I could not drag the behaviour in the "behaviour" field because the FSM in which I am trying to do that is defined via a template. If I was in a normal FSM, I could drag the behaviour without any problem.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Cannot drag behaviour in behaviour field for "Call Method" if in template.
« Reply #1 on: December 09, 2013, 01:44:33 PM »
Hi,

You will need to get that behavior programmatically using action such as "Get Component", then you are ok, even within a template. Do that on Start or when you need it ( tho it's better to cache, so thyt you only get it once)

bye,

 Jean