边缘世界 RimWorld

边缘世界 RimWorld

Custom Alerts
晓山alreShan 2024 年 8 月 30 日 上午 1:11
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://psteamcommunity.yuanyoumao.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
最后由 晓山alreShan 编辑于; 2024 年 8 月 30 日 上午 1:17
< >
正在显示第 1 - 2 条,共 2 条留言
Uuugggg  [开发者] 2024 年 8 月 30 日 下午 1:55 
<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 2024 年 8 月 30 日 下午 7:06 
:D wow! thank you!
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50