RimWorld

RimWorld

Custom Alerts
looking for help making alert that drafted pawn doing nothing
I'm thinking to make a alert, that pawn been drafted, but doing nothing [not actively fighting(shooting or meleeing) or moving]
Here's alert I created try to implement it, but this can't differentiate pawn that shooting or meleeing from doing nothing (with no given order).
<TD_Find_Lib.QuerySearch> <saveable Class="TD_Find_Lib.QuerySearch"> <name>drafted pawn doing nothing</name> <listType>Selectable</listType> <searchMaps /> <queries> <li Class="TD_Find_Lib.ThingQueryDrafted"> <def>Query_Drafted</def> </li> <li Class="TD_Find_Lib.ThingQueryJob"> <def>Query_Job</def> <refName>Wait_Combat</refName> </li> </queries> <matchAllQueries>True</matchAllQueries> </saveable> </TD_Find_Lib.QuerySearch>
I notice there is a icon on colonist's selection bar, as picture shows
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3320610463
But I didn't manage to find this either in pre-selections or Custom (advanced):steamfacepalm:

Looking for help:GunfireRebornhandsup:, appreciate any help
Last edited by 晓山alreShan; 30 Aug, 2024 @ 1:17am
< >
Showing 1-2 of 2 comments
Uuugggg  [developer] 30 Aug, 2024 @ 1:55pm 
<TD_Find_Lib.QuerySearch> <saveable Class="TD_Find_Lib.QuerySearch"> <name>Ctrl-F Search</name> <active>True</active> <listType>Everyone</listType> <searchMaps /> <queries> <li Class="TD_Find_Lib.ThingQueryDrafted"> <def>Query_Drafted</def> </li> <li Class="TD_Find_Lib.ThingQueryJob"> <def>Query_Job</def> <refName>Wait_Combat</refName> </li> <li Class="TD_Find_Lib.ThingQueryAndOrGroup"> <def>Query_AndOrGroup</def> <queries> <li Class="TD_Find_Lib.ThingQueryCustom"> <def>Query_Custom</def> <matchType>Verse.Pawn</matchType> <memberChain>stances.curStance.as Stance_Warmup.is not null</memberChain> </li> <li Class="TD_Find_Lib.ThingQueryCustom"> <def>Query_Custom</def> <matchType>Verse.Pawn</matchType> <memberChain>stances.curStance.as Stance_Cooldown.is not null</memberChain> </li> </queries> <matchAllQueries>False</matchAllQueries> </li> </queries> <matchAllQueries>True</matchAllQueries> </saveable> </TD_Find_Lib.QuerySearch>

Looks like firing guns is part of the "wait" job just with a different "stance".

There's no stance tracker in TDFindLib but the custom filter can access it huzzah. )Be sure to check warmup OR cooldown)

Also take note to use listType aka Searching Through: everyone so it's not checking if walls are using guns
晓山alreShan 30 Aug, 2024 @ 7:06pm 
:D wow! thank you!
< >
Showing 1-2 of 2 comments
Per page: 1530 50