Navigation

    forum

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

    Qian

    @Qian

    1
    Posts
    665
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Qian Follow

    Posts made by Qian

    • Add function pointers to creep, not working. Help

      I tried to add a function to the creep, but it seems not working, can anyone help me with this?

      Basicall I did:

      Game.creeps['Dylan'].memory.fn = function(){console.log('test');};

      but it does not show up in the memory watch, and I calling 

      Game.creeps['Dylan'].memory.fn() gives an error.

       

      THanks

       

       

      posted in Help
      Qian