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
30
S
6
G
8
Posts: 232
Reputation: 6,119

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
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

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
30
S
6
G
8
Posts: 232
Reputation: 6,119

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
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

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
359
S
214
G
72
Posts: 22,951
Reputation: 178,578


Return to Closed bugs

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests