Re: Cogs - Detecting players in Sectors


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by CogKing on February 03, 1998 at 15:49:21:

In Reply to: Cogs - Detecting players in Sectors posted by Osan`gar on February 01, 1998 at 21:03:20:

Does anyone know if there is a way to detect the number of players in a sector.
Any help would be greatly appreciated.

Use a loop with FirstThingInSector() and NextThingInSector().
For each thing check its type with GetThingType(). If the type
is 10 you have a player.

-CogKing



Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]