playMaker

Author Topic: How to add a new category?[SOLVED]  (Read 1517 times)

Kemono

  • Playmaker Newbie
  • *
  • Posts: 11
How to add a new category?[SOLVED]
« on: October 10, 2016, 06:13:55 AM »
Hi,

How do I add a new category (e.g. "physics", "math") to playmaker?
Can I do it within a custom playmaker action, or do I need a new script?
« Last Edit: October 11, 2016, 06:24:18 AM by jeanfabre »

Kemono

  • Playmaker Newbie
  • *
  • Posts: 11
Re: How to add a new category?
« Reply #1 on: October 10, 2016, 08:29:10 PM »
found it  :)

Hi,

 If you are talking about your own custom actions: You can simple inject a string instead of the default set:

Code: [Select]
[ActionCategory("My own category")]

It will then appear in the actions browser amongst the preset categories.

Where you actually place your custom actions in the playmaker/actions/ folder doesn't matter, you can create subfolders at will.

Bye,

 Jean