Moving global vars to different event sheet (r105)

Bugs will be moved here once resolved.

Post » Sun Oct 07, 2012 10:57 pm

If the global variable is already in use, there is no way to copy it to a different event sheet since deleting it will remove all events associated with that variable, and attempting to copy results in duplicate global variable error message.

Specs:
Construct 2 r105 64-bit
Windows 7 Home Premium 64-bit
Intel Celeron
B
31
S
7
G
8
Posts: 232
Reputation: 6,214

Post » Sun Oct 07, 2012 11:19 pm

Annoying, yes, but all globals are still available in all layouts.
Perhaps if there was a flag to display globals in specific, or all layouts.
Image Image
B
164
S
49
G
125
Posts: 7,796
Reputation: 85,046

Post » Sun Oct 07, 2012 11:25 pm

yeah, for all intents and purposes scope doesn't change. It's more of a "hey I'm OCD and I want to organize these global vars in a global event sheet" kind of thing.
B
31
S
7
G
8
Posts: 232
Reputation: 6,214

Post » Mon Oct 08, 2012 6:01 am

Cut the global var, the events related disappear, yes, but once you paste it in an other event sheet, all events are back.

Where is the bug here ?
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
262
S
93
G
55
Posts: 7,157
Reputation: 67,083

Post » Mon Oct 08, 2012 10:24 pm

[QUOTE=Kyatric] Cut the global var, the events related disappear, yes, but once you paste it in an other event sheet, all events are back.

Where is the bug here ?[/QUOTE]

It does o.0 Did not know that. Thanks for that information.
- Diji
B
23
S
4
G
4
Posts: 54
Reputation: 3,996

Post » Wed Oct 10, 2012 12:56 pm

@Kyatric is right - it's not massively intuitive, but it does work. It's difficult to come up with a different way since most people only use one event sheet at a time, so cutting and pasting is the easiest way. And in between it has to hide references to the variable because it doesn't exist until you paste it again!
Scirra Founder
B
373
S
218
G
84
Posts: 23,454
Reputation: 186,148


Return to Closed bugs

Who is online

Users browsing this forum: 99Instances2Go and 3 guests