Navigation

    forum

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

    Topics created by V1tamnT

    • General Problems with Roles and Memory
      General Discussion • • V1tamnT

      7
      7
      Posts
      10589
      Views

      @Primeoz56 Game.creeps.creepname can work, but only if your creep is literally named 'creepname'.    however if creepname is a string containing your creeps name you need to use this syntax instead. let creepname = 'george';Game.creeps[creepname].move(TOP);   Note. you can go much farther with this syntax and replace all but the original object. Game['spawns']['spawn1'].createCreep([MOVE],'george');  
    • Error Code List
      Help • • V1tamnT

      4
      4
      Posts
      13567
      Views

      suggestion: create a new file where you copy paste the error definitions into.   i did that and can quickly look up what the error/issue is