Can a creep commit suicide?
//ads -- adsterra.com -- native banner
?>
I am programming a script for my guards, if the guard can't move, make the guard commit suicide, so my system can spawn a new one again.
But how do I do that? It's not listed in the docs. I am looking for something like this:
creep.commitSuicide();
Best Answer
creep = null;
This will make the creep "commit suicide" and dropping all it's energy.
Pictures about "Can a creep commit suicide?"



Preventing Suicide: Three Things Never to Do! | Dr. Clarence E. Davis, Ph.D. | TEDxWilmingtonLive
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Anh Tuan, Evan Velez Saxer, Matheus Bertelli, Andrea Piacquadio
