playMaker

Author Topic: FSM script in visual studio  (Read 1106 times)

SK_Ultra

  • Playmaker Newbie
  • *
  • Posts: 2
FSM script in visual studio
« on: January 04, 2020, 06:44:00 PM »
Hi, is there any way to see the coding of an FSM in visual studio?

Thore

  • Sr. Member
  • ****
  • Posts: 480
Re: FSM script in visual studio
« Reply #1 on: January 04, 2020, 09:46:43 PM »
Hi,

If you hope to see a single script in c# of your FSM, then no. The reason is that an FSM is a state machine, that runs several smaller scripts (the actions) in a modular fashion. It’s not actually one big script that can be easily shown. 

If you want to see the code of the individual actions, then yes. Click on the gear icon next in the action and then edit script. You can also find the actions in the project, by looking for the action name and open them there. But it’s strongly recommended to not make changes to the actions. Rather, make a copy and modify the copy. You can create custom actions, too.

SK_Ultra

  • Playmaker Newbie
  • *
  • Posts: 2
Re: FSM script in visual studio
« Reply #2 on: January 05, 2020, 01:38:14 AM »
Thank you, that was what I needed to know.