Jump to content


Photo

Variables that are not used


  • Please log in to reply
3 replies to this topic

#1 punppis

punppis

    GMC Member

  • New Member
  • 8 posts
  • Version:GM:Studio

Posted 12 July 2012 - 11:33 AM

Throughout our game project there has been a lot of code changes, which has resulted a lot of unused variables. Is there any way to get information of variables that are never used in the game?
  • 0

#2 darkclower

darkclower

    GMC Member

  • New Member
  • 80 posts
  • Version:GM8

Posted 12 July 2012 - 11:47 AM

When I search trough scripts I use CTRL + F.
And when I search through objects, I recommend you search trough the object information. which is found by pressing Show Information.

This method is a bit slow and annoying to do.
But it does the job.

EDIT:
Which basically is manually.
Thanks ND4SPD.

Edited by darkclower, 12 July 2012 - 12:26 PM.

  • 0

#3 ND4SPD

ND4SPD

    GMC Member

  • GMC Member
  • 2167 posts

Posted 12 July 2012 - 11:49 AM

Manually. :P

Edited by ND4SPD, 12 July 2012 - 11:50 AM.

  • 0

#4 Koaske

Koaske

    GMC Member

  • GMC Member
  • 383 posts
  • Version:GM8

Posted 12 July 2012 - 01:25 PM

This is a very good question. I'd wish that GM had a feature to search for a word in the full source code (or in this case, all the scripts and objects), like so many other code editors have...
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users