Screeps Wiki
Advertisement

S14.gif

function (message) {

   if (!this.my) {
     return C.ERR_NOT_OWNER;
   }
   if (data(this.id).spawning) {
     return C.ERR_BUSY;
   }
   intents[this.id] = intents[this.id] || {};
   intents[this.id].say = {message: "" + message};
   return C.OK;
 }

Advertisement