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,244

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 ImageImage
B
166
S
49
G
154
Posts: 8,106
Reputation: 100,233

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,244

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
276
S
103
G
84
Posts: 7,289
Reputation: 83,098

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
24
S
4
G
4
Posts: 54
Reputation: 4,038

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
383
S
225
G
86
Posts: 24,119
Reputation: 190,546


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest