forked from VladThePaler/screeps.behaviour-action-pattern
-
Notifications
You must be signed in to change notification settings - Fork 0
How to Debug This Code (Diagnostics)
Karl the Pagan edited this page Mar 22, 2017
·
1 revision
Ask (almost) anything to explain what it is, and what it's doing.
> Game.getObjectById('58d2eb8ca45ad69f4dbdf5f2').explain()
< [creep hauler-1250-2]: ttl:152 pos:[room W24N19 pos 8,26] assigned:[storing,hauler,]
The Explain API is part of Strategy-Extensions.
Implementation details: https://github.com/ScreepsOCS/screeps.behaviour-action-pattern/pull/1038/files