Navigation

    forum

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

    Posts made by DuckyD

    • RE: Coding Help

      Mototroller,

      Thanks for the link to beginner JS.  I am just a little past beginner.  I was just hoping for a little assistance.  In other programming languages I was able to do this using strings, just can't figure it out here.  Thanks.

      posted in Help
      DuckyD
    • Coding Help

      I am trying to create a Screep Creator the is dynamic.  Here is what I have:

          var partOne = "Game.spawns.Spawn1.createCreep([";
          var partTwo = "WORK,CARRY,MOVE";
          var partThree = "], undefined, {role: 'test'})";
          
          var fullScript = partOne + partTwo + partThree;

      So, the question is, how do I run this now created command?

       

      Also, I have tried standard Javascript commands that do not work.  Does Screeps use full javascript or a custom set for just the game?

       

      posted in Help
      DuckyD