playMaker

Author Topic: Changing an FSM's name when actions reference it  (Read 27445 times)

Eskalat

  • Playmaker Newbie
  • *
  • Posts: 1
Changing an FSM's name when actions reference it
« on: April 29, 2025, 08:28:54 PM »
Hey guys - is there an ideal way to rename an FSM if you have actions that reference it?

For example, I'm using some "Get FSM Game Object" actions. When I rename the FSM they reference, they're left still referencing the previous name (unlike when renaming local variables, which seems to automatically update all references to their name).

Is there a way rename an FSM that also updates all references to that name?

Thanks!

jeffreestar

  • Playmaker Newbie
  • *
  • Posts: 1
    • that's not my neighbor
Re: Changing an FSM's name when actions reference it
« Reply #1 on: May 07, 2025, 04:28:26 AM »
The issue stems from how actions like Get FSM Game Object store the FSM name as a string, not a dynamic reference.

tellatmosphere

  • Playmaker Newbie
  • *
  • Posts: 1
    • speed stars
Re: Changing an FSM's name when actions reference it
« Reply #2 on: May 07, 2025, 10:32:52 PM »
The problem arises because the FSM name is stored as a string rather than a dynamic reference by activities like Get FSM Game Object.

pedaram

  • Playmaker Newbie
  • *
  • Posts: 1
    • Speed Stars
Re: Changing an FSM's name when actions reference it
« Reply #3 on: June 02, 2025, 04:07:50 AM »
Do you use version control (e.g., Git) so that renaming FSMs and manually updating references is at least trackable?