[DiscordArchive] can anyone tell me how can I collect dead players in a list?
[DiscordArchive] can anyone tell me how can I collect dead players in a list?
Archived author: MR.MUSTACHE • Posted: 2019-05-04T14:00:50.918000+00:00
Original source
can anyone tell me how can I collect dead players in a list?
layerListSearcher<Trinity::AnyPlayerInObjectRangeCheck> searcher(me, playersInRange, checker);Archived author: MR.MUSTACHE • Posted: 2019-05-04T14:01:14.271000+00:00
Original source
```cpp
Trinity::AnyPlayerInObjectRangeCheck checker(me, RangeCheck);
Trinity:
layerListSearcher<Trinity::AnyPlayerInObjectRangeCheck> searcher(me, playersInRange, checker);
Cell::VisitWorldObjects(me, searcher, RangeCheck);
```
Tried with this, but it doesn't detect players that are dead (before and after release)
layerList const& players = GetPlayers();Archived author: MR.MUSTACHE • Posted: 2019-05-04T14:03:33.740000+00:00
Original source
does MAP detect them even in death state?
```cpp
Map:
layerList const& players = GetPlayers();
```
Archived author: MR.MUSTACHE • Posted: 2019-05-04T14:04:52.177000+00:00
Original source
oh I see
Archived author: MR.MUSTACHE • Posted: 2019-05-04T14:04:57.062000+00:00
Original source
it has option for dead or alive
Archived author: MR.MUSTACHE • Posted: 2019-05-04T14:05:03.395000+00:00
Original source
```cpp
AnyPlayerInObjectRangeCheck(WorldObject const* obj, float range, bool reqAlive = true
```
Archived author: MR.MUSTACHE • Posted: 2019-05-04T14:05:04.733000+00:00
Original source
thanks
Archived author: MR.MUSTACHE • Posted: 2019-05-04T14:06:17.652000+00:00
Original source
and I always forget to check the definition of the functions