Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. Uuugggg
    3. Posts
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    Posts made by Uuugggg

    • Getting my IDE to autocomplete Creep.prototype.something = function ()

      Somehow it's been a real pain to get autocompletion and typescript up and running, but I have it. Visual Studio and Sublime Text know about and can 'go to definition' for all the external Screeps functions.

      But they somehow CAN'T figure out how to deal with Creep.prototype.doRole = function ()

      It doesn't autocomplete it, it doesn't jump to the definition, it's as if it wasn't there.

      Someone just tell me they have this working. This is really the last thing I need to actually get into this game.

      posted in General Discussion
      Uuugggg
    • Initialization methods?

      Is there a way to have an initialization function called on an object the first time it's made? This probably can be done manually for things I made, but what about the initial Spawn?

      Something like this is what I'd like:
      Spawn.prototype.init = function() { this.memory.guards = []; }

      posted in Feature Requests
      Uuugggg