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:
Download the
Ecosystem Browser
to find new actions, samples. etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
Bug Reporting
»
PlayMaker Bug Reporting
»
[BUG] Seting a global variable with the same name as local wont work
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [BUG] Seting a global variable with the same name as local wont work (Read 1554 times)
miguelfanclub
Full Member
Posts: 165
[BUG] Seting a global variable with the same name as local wont work
«
on:
December 01, 2018, 08:06:55 AM »
It simply doesnt detect the difference at UI level, both of the variables are changed to local or global depending on the last one you set on the UI of the action.
Talking about the Set Int Value Action
«
Last Edit: December 01, 2018, 08:18:47 AM by miguelfanclub
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: [BUG] Seting a global variable with the same name as local wont work
«
Reply #1 on:
December 03, 2018, 01:17:58 AM »
Hi,
yes, you need to enforce that local variables and global variables be named differently. I usually add a weird character on globals so that I alwasy know it's a global at a glance. like "#My Variable Name"
Bye,
Jean
Logged
Broken Stylus
Beta Group
Hero Member
Posts: 772
Re: [BUG] Seting a global variable with the same name as local wont work
«
Reply #2 on:
December 04, 2018, 06:42:04 AM »
Tip:
Say you have a string variable called "pasta".
Local version syntax : pasta
Global version syntax : Pasta
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
Bug Reporting
»
PlayMaker Bug Reporting
»
[BUG] Seting a global variable with the same name as local wont work