Feature: Move variables between EventSheets

Discussion and feedback on Construct 2

Post » Tue Apr 09, 2013 4:30 pm

Hi, I'd love to be easier to move a variable between EventSheets, because if I cut a variable, there's a big warning about SC2 deleting everything where that variable is in.

thanks
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Tue Apr 09, 2013 4:59 pm

Everything in that event sheet that uses it will remove it at that point correct? Seems like the warning makes sense to me, if the variable is not global, and is removed from the event sheet then any references to it will break. Or am I misunderstanding?

Unless you are talking about global variables, in which case there is no reason to move them between sheets because they are global. If you are worried about seeing them it may be easier for you just to have an event sheet dedicated to global variables.BluePhaze2013-04-09 17:01:20
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,428

Post » Tue Apr 09, 2013 5:51 pm

I have a Global variable in Layout01Sheet that I want to put in GlobalCode sheet to have it more organized. It's no biggie to make it all work, just a suggestion to make SC2 more better.
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Tue Apr 09, 2013 5:53 pm

But what is the actual issue? The error message popping up? Or does something break when you do the cut?
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,428

Post » Tue Apr 09, 2013 7:17 pm

If you cut the global variable, then paste it in the other event sheet, all the deleted references conditions and actions will reappear. I agree it's terrifying though, and would still prefer some other method like copying the variable then pasting it removes it from its previous location instead. Or maybe the method the windows file manager uses for cut and paste, where the file is still in it's original location with reduced opacity until it's pasted, basically resulting in a move function. If the user wants to delete the variable they can use delete instead of cut.Arima2013-04-09 19:17:53
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Tue Apr 09, 2013 7:18 pm

@Arima I've always been way too scared to do it! The warning message makes me chicken out every time!
slap it onto the flappy bird template...
bang it on google play with all the other shovelware...
sorted...
B
36
S
7
G
4
Posts: 322
Reputation: 8,170

Post » Tue Apr 09, 2013 7:22 pm

Yeah, I design all my projects with the globals in their own event sheet from the start to make sure I don't have to. :/
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Tue Apr 09, 2013 7:24 pm

Ditto! To much fear to ever attempt it. Doing it Windows Explorer style would be the best.
B
51
S
13
G
8
Posts: 194
Reputation: 7,311

Post » Tue Apr 09, 2013 7:33 pm

[QUOTE=Wrangler] @Arima I've always been way too scared to do it! The warning message makes me chicken out every time![/QUOTE]
I could fight a bear with my bare hands, but this popup dialog makes me a chicken!
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Tue Apr 09, 2013 7:37 pm

[QUOTE=Arima] If you cut the global variable, then paste it in the other event sheet, all the deleted references conditions and actions will reappear. I agree it's terrifying though, and would still prefer some other method like copying the variable then pasting it removes it from its previous location instead. Or maybe the method the windows file manager uses for cut and paste, where the file is still in it's original location with reduced opacity until it's pasted, basically resulting in a move function. [/QUOTE] Ohh, thanks didn't know that
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Next

Return to Construct 2 General

Who is online

Users browsing this forum: GhoulishGames and 13 guests