playMaker

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

Alroc

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
How to access FSM variable from a "Create Object" Action
« on: April 16, 2017, 03: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, 03:54:38 AM by Alroc »

Carmichael

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