Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: grimmy on April 06, 2013, 02:08:57 PM

Title: Renaming Global Variables. [PENDING]
Post by: grimmy on April 06, 2013, 02:08:57 PM
I can't do it.

Every-time I type the new name in the 'edit variable' text box it just resets back to what it was. Is this supposed to work?
Title: Re: Renaming Global Variables.
Post by: Alex Chouls on April 06, 2013, 02:17:21 PM
I just tested here and it seems to be working fine...

Are you hitting enter after renaming the variable?
Title: Re: Renaming Global Variables.
Post by: grimmy on April 06, 2013, 03:27:46 PM
Oh yeah..hitting return does the trick. I think I was hitting refresh or just deselecting. Now I know, it seems obvious. Thanks
Title: Re: Renaming Global Variables. [SOLVED]
Post by: Guicole on August 30, 2014, 01:03:34 PM
Hi,

I can't rename a Global Variable because I don't see "Edit Variable" but only "variable" and it's grayed out.

why is that?
Title: Re: Renaming Global Variables. [SOLVED]
Post by: jess84 on August 30, 2014, 02:32:26 PM
Renaming Global Variables was removed a few versions ago, due to a bug I think.

I can't wait for it to come back personally, as my project variables are a bit of a mess.
Title: Re: Renaming Global Variables. [SOLVED]
Post by: Meceka on November 22, 2014, 01:30:27 PM
I didn't update playmaker for some time, is renaming global variables functionality added back to playmaker?
Title: Re: Renaming Global Variables. [SOLVED]
Post by: jeanfabre on November 23, 2014, 11:46:03 PM
Hi,

 nop... It's unfortunate, I think the feature is cornered because of backward compatibilties ( it's my guess, the complexity of this issue is great indeed). Same with global events.

 Bye,

 Jean
Title: Re: Renaming Global Variables. [SOLVED]
Post by: Alex Chouls on November 24, 2014, 01:04:19 AM
I'll be working on this after 1.8.0 is released. There is an issue with backwards compatibility that requires some infrastructure to scan all scenes in a project. The good news is this infrastructure will enable a lot of powerful project tools beyond just fixing the renaming of globals (e.g., advanced search and organizational tools)
Title: Re: Renaming Global Variables. [SOLVED]
Post by: jeanfabre on November 24, 2014, 01:07:54 AM
Hi Alex,

I very much like the sound of that indeed!

Bye,

 Jean
Title: Re: Renaming Global Variables. [SOLVED]
Post by: escpodgames on November 24, 2014, 01:12:33 AM
Sounds very promising!
Title: Re: Renaming Global Variables. [SOLVED]
Post by: Alatriste on October 31, 2016, 10:36:41 AM
Any update on this? I still cannot rename global variables.  :-\
Title: Re: Renaming Global Variables. [SOLVED]
Post by: jeanfabre on October 31, 2016, 11:39:37 PM
Hi,

 No, this is still not available unfortunatly.

 Bye,

 Jean
Title: Re: Renaming Global Variables. [SOLVED]
Post by: Anaxtasia on December 10, 2016, 06:20:22 AM
Not wanting to be pushy or looking to be too entitled, nor wanting to re-necroing old posts... but I only wanted to say that being able to rename globals would be so hugely great...  ::)

I know I'm an amateur "coder" at best and that a good one would try to avoid globals like the pest, but I'm no pro and I'm also a horrible planner, so I find myself continuously regretting the name I give to globals, making the final list of my variables an awful mess.

So... yeah. It would be great to have that ability. Just saying, pretty please and all that...  ;)
Title: Re: Renaming Global Variables. [SOLVED]
Post by: bradbecker on December 11, 2016, 06:32:15 PM
+1  :'(

Can we remove SOLVED?
Title: Re: Renaming Global Variables. [PENDING]
Post by: jeanfabre on December 12, 2016, 12:10:12 AM
Hi,

 yeah... I remove the "SOLVED", it's misleading indeed.

 This issue with global variable is a pain, we all agree on this, but unfortunatly, I think there is a deep down issue with this which prevents renaming without compromising other Fsms in other scene and packages.

 Hopefully, this will get addressed one way or the other...

Bye,

 Jean
Title: Re: Renaming Global Variables. [PENDING]
Post by: beowulfkaine on May 11, 2017, 06:11:37 AM
Any word on this? My project is a mess and I need to rearrange things
Title: Re: Renaming Global Variables. [PENDING]
Post by: krmko on May 11, 2017, 12:32:30 PM
Yeah, i think it should be pushed up a bit if it is still on that trello board. I know all that dandy vr support and what not brings you cash, but this is kinda basic workflow funcionality (not saying that it's easy to make, basic in terms of necessity for normal work).
Title: Re: Renaming Global Variables. [PENDING]
Post by: nazbee on May 12, 2017, 12:04:25 AM
I just noticed- its possible to rename global variables similar to how renaming global events is currently handled--

Right click on the global variable and Make Local Variable, rename it, right click to set back to global
Title: Re: Renaming Global Variables. [PENDING]
Post by: krmko on May 12, 2017, 12:37:21 AM
Are the references still intact after that sort of fiddling?
Title: Re: Renaming Global Variables. [PENDING]
Post by: nazbee on May 12, 2017, 04:52:32 AM
Sorry about that- should have tested in depth.

It updated correctly for multiple actions in the same FSM but after checking again, not in other FSMs. So no, it doesn't work :/

+1 for hoping global variable renaming is on the feature list
Title: Re: Renaming Global Variables. [PENDING]
Post by: krmko on May 12, 2017, 08:30:04 AM
 :(
Title: Re: Renaming Global Variables. [PENDING]
Post by: jeanfabre on May 15, 2017, 02:12:08 AM
Hi,

 yeah, Global variables renaming is a major issue, unfortunatly the solution isn't there for technical reasons without seriously compromising the project. hopefully a solution will be found at some point.

 Bye,

 Jean