playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Get owner not setting variable But it is working for other actions ?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Get owner not setting variable But it is working for other actions ? (Read 642 times)
t4d
Junior Playmaker
Posts: 70
Get owner not setting variable But it is working for other actions ?
«
on:
January 03, 2021, 10:31:05 PM »
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
Logged
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Get owner not setting variable But it is working for other actions ?