According to the documentation (https://docs.screeps.com/api/#Creep.dismantle), the creep.dismantle(target) method should be applied to Structure. StructureInvaderCore is a Structure. Why does the method returns ERR_INVALID_TARGET (-7, The target is not a valid structure object)?
SergeyG
@SergeyG
2
Posts
307
Profile views
0
Followers
0
Following
Posts made by SergeyG
-
Why does the creep.dismantle(target) method fail on STRUCTURE_INVADER_CORE?
-
Error: "Script initialization timed out"
Error: "Script initialization timed out". Shard3. The message comes to email. Infrequently (once a day or less). Is this a bug in my code? My script doesn't seem to be running for one clock cycle when this error happens. The error started appearing relatively recently (I think around a month).