Script disappeared, but still working?

● ARCHIVED · READ-ONLY
Started by TrueMisfit 8 posts View original ↗
  1. I installed a script before the last major update some months ago and it is still working as intended, but when I go through my script list I cannot find it.  Like nothing, none of the text for it.  It's just...gone.

    I am slightly worried about this because if this happens the next time I put in a script then I might not be able to take it out.

    (It was a word wrap script if you must know)
  2. Are you loading a game, maybe that's causing it, start a new game in the test, instead of loading a old game.

    Other then that, your script is probally still there somewhere(perhaps you just deleted the name of the script, and not the script its self)
  3. Zoltor said:
    Are you loading a game, maybe that's causing it, start a new game in the test, instead of loading a old game.

    Other then that, your script is probally still there somewhere(perhaps you just deleted the name of the script, and not the script its self)
    It is an old project, from before the update, so that might be it.

    I haven't saved the game fully yet, it's still in the building stages, I just noticed that it suddenly vanished from the scripts list, despite still working.
  4. TrueMisfit said:
    It is an old project, from before the update, so that might be it.

    I haven't saved the game fully yet, it's still in the building stages, I just noticed that it suddenly vanished from the scripts list, despite still working.
    When I say saving the game, I mean saving the actual gameplay when in test mode.
  5. Zoltor said:
    When I say saving the game, I mean saving the actual gameplay when in test mode.
    I never save the game in test mode, I assumed it wouldn't work and might mess something up.
  6. TrueMisfit said:
    I never save the game in test mode, I assumed it wouldn't work and might mess something up.
    You're able to save in test mode np, but the rule of thumb is, when you change something, you should start from the beginning(as the save, also saves past project updates/statuses)

    If you're not doing that though, I have to believe your script is still there somewhere.
  7. Most likely this has nothing to do with savegames, but that the script still is in your engine.


    Check all unnamed script slots, most probably you'll find a slot without a name that still contains the script.


    One more thing: if you start a new game, then there is no chance to load a script that isn't in the editor - if the functions are available on new game, then the script is somewhere in the engine.
  8. If it's not in an unnamed slot, as Andar suggested, it could be that you've accidentally copied and pasted it into an already-used script slot, above or below that script.


    Find the thread or original location of the script and see if you can pick out some words/phrases that ONLY that script would use (if the scripter has aliased any methods and has included their initials in the alias name, that's a perfect candidate). Then do a global search (control + shift + f) for that phrase. That'll tell you if it's hiding in there somewhere.