playMaker

Author Topic: Get owner not setting variable But it is working for other actions ?  (Read 642 times)

t4d

  • Junior Playmaker
  • **
  • Posts: 70
Hi All When I get owner and set it as a Local Variable Self I get "none" and can not add to a global Variable

But right under this action use the Get Name action of the local Variable ( that is None) and it does work and gets the Name ( which is "1")

how ?   what am i missing ? I need the Game object variable

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 226
Re: Get owner not setting variable But it is working for other actions ?
« Reply #1 on: January 04, 2021, 12:20:56 PM »
Are you perhaps using the same variable name in one FSM for your local and global variables? So are both your local and global variable named "self".

If so that could be your problem, I always add "Global" to any global variable.