playMaker

Author Topic: Question about template  (Read 2291 times)

haikun

  • Playmaker Newbie
  • *
  • Posts: 3
Question about template
« on: May 26, 2014, 02:19:00 PM »
Hello, guys, I have a good question here, if I use a template to reference a FSM, that  if I changed the logic in this template, I means in some way rebuild this template, will all the reference which FSM used this template automatic to change to the same as this template?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Question about template
« Reply #1 on: May 26, 2014, 06:20:17 PM »
If you paste a template the new nodes are independent of the original template - changes to the template will not effect the pasted nodes. This is like code templates in text editors - they provide a shortcut for re-usable blocks.

However, if you reference a template in a Run FSM action then any changes you make to the template WILL carry over.

haikun

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Question about template
« Reply #2 on: May 28, 2014, 02:05:23 PM »
Thanks your help, clearly !