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