check for pawns in a room?

Started by Zoimos, March 03, 2015, 11:03:18 PM

Previous topic - Next topic

Zoimos

how do you check if there is a pawn in a room? been searching around and can only find that it might have something to do with ListerPawns but I don't know how it works :(


Haplo

Look into my PowerSwitch mod and into the Source of the Radar class (subfolder Source). There you'll find the function your searching for :)
(ain't at my computer right now..)

Zoimos

nice thanks, was going to make a light that turns on/off when someone is in the room but that power switch can do that anyway!