Colonist Military Mode

Started by BTDarkWolf, May 07, 2015, 03:20:09 PM

Previous topic - Next topic

BTDarkWolf

Can anyone give me a tip?

How do I put a colonist in the military mode?

Dante King


BTDarkWolf

 :D

We are in the Mod Area. I need more "source code"  ;)

BTDarkWolf

I found the solution:

foreach (var Colonist in  Find.ListerPawns.FreeColonists)
            {
                Colonist.jobs.StopAll();
                Colonist.playerController.Drafted = true;
                Colonist.pather.StartPath(this.Position,Verse.AI.PathMode.ClosestTouch); 
            }

Dante King

nvm.......(I clicked unread posts)