{"id":2530,"date":"2019-07-27T20:12:41","date_gmt":"2019-07-27T20:12:41","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2530"},"modified":"2019-07-27T20:14:08","modified_gmt":"2019-07-27T20:14:08","slug":"playmaker-reverting-to-local-variables-instead-of-using-global-variable","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/playmaker-reverting-to-local-variables-instead-of-using-global-variable\/","title":{"rendered":"PlayMaker reverting to local variables instead of using global variable"},"content":{"rendered":"\n<p>In PlayMaker you can experience issues with variables if you have a Global variable (Green in picture) and a Local variable (Red in picture) that have the same name.  PlayMaker will let you select the Global variable however, you&#8217;ll get erratic behavior and it seems to revert to the local variable.  Work around?  Rename one of the variables.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"336\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/07\/image-2-1024x336.png\" alt=\"\" class=\"wp-image-2532\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/07\/image-2-1024x336.png 1024w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/07\/image-2-300x98.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/07\/image-2-768x252.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/07\/image-2-500x164.png 500w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/07\/image-2.png 1557w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In PlayMaker you can experience issues with variables if you have a Global variable (Green in picture) and a Local variable (Red in picture) that have the same name. PlayMaker will let you select the Global variable however, you&#8217;ll get &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/playmaker-reverting-to-local-variables-instead-of-using-global-variable\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[325],"tags":[605,606,326,327],"class_list":["post-2530","post","type-post","status-publish","format-standard","hentry","category-unity3d","tag-playmaker","tag-programming","tag-unity","tag-unity3d"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2530"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2530\/revisions"}],"predecessor-version":[{"id":2534,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2530\/revisions\/2534"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}