Set tidtohate in all cases when a monster picks a target?
Moderator: GZDoom Developers
Set tidtohate in all cases when a monster picks a target?
I recently found out that tidtohate property/decorate expression is only used when Thing_Hate is involved. Can this be extended slightly so it stores the tidtohate whenever a monster picks up a target (A_Look, etc.)? I already have a few uses in mind for this.
Re: Set tidtohate in all cases when a monster picks a target
Wouldn't that mess up monster infighting? For example, when a baron and a revenant are both attacking a player or something else with a TID of 6 , they will never hurt each other. And even if they did, which can only happen if one (or both) of the two was using hitscan attacks (a zombie), they will never actively fight eachother because their 'TIDtohate' fields are the same (and are not equal 0).Ghastly_dragon wrote:...stores the tidtohate whenever a monster picks up a target (A_Look, etc.)?
(Of course it wouldn't matter if your mod doesn't have monster infighting, but still.)
Re: Set tidtohate in all cases when a monster picks a target
Ah, k. I didn't know tidtohate factored into the rest of the targeting code like this.