playMaker

Author Topic: How to access FSM variable from a "Create Object" Action  (Read 1258 times)

Alroc

  • Playmaker Newbie
  • *
  • Posts: 1
How to access FSM variable from a "Create Object" Action
« on: April 16, 2017, 06:42:59 AM »
Hello everyone.

I have a problem.

In my "GameMaster" Object i get all the connected pad and assign a value to a variable 'CurrentPadNumber".

In the GameMaster i Create the players and store it a variable "currentPlayer".
I'd like todynamically pass the stored object the value of that "CurrentPadNumber" but when i use the "Set FSM Variable" action it seems that i can't access the FSM names and variable of the "currentPlayer".




Simply put i want to pass values to a created object instance.

Thank you
« Last Edit: April 16, 2017, 06:54:38 AM by Alroc »

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: How to access FSM variable from a "Create Object" Action
« Reply #1 on: April 17, 2017, 12:57:09 AM »
simply set fsm gameobject and manually type the fsm name and variable, it would work