How do I Get Rid of all variables not being used

Get help using Construct 2

Post » Sat Mar 05, 2016 4:57 pm

I am in the process of making a game and have changed variables and added variables that I no longer use. Is there a way to scan for variables and stuff to see which ones arent being used so I can delete the unwanted ones. With out going though them 1 at a time and messing up my game ???
B
9
S
3
Posts: 56
Reputation: 801

Post » Sun Mar 06, 2016 7:16 pm

What I do when I'm in your case is add "DELETE" to the variables' names that I want to remove. Then I simply search for the "DELETE" word and remove any reference to the variables.

This way, when I do remove them, I am sure they are not going to mess up my project.
ImageImage
B
42
S
13
G
10
Posts: 164
Reputation: 7,625

Post » Sun Mar 06, 2016 9:05 pm

@Zed2100

lol thanks thats a good idea :)
B
9
S
3
Posts: 56
Reputation: 801

Post » Sun Mar 06, 2016 10:22 pm

You're welcome. We still need a global and more detailed search function in C2 but this will do for now, you still have to go through all your event sheets though. If anyone has a better idea I'm very interested :D
ImageImage
B
42
S
13
G
10
Posts: 164
Reputation: 7,625


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Nicolas951 and 11 guests