View Issue Details

IDProjectCategoryView StatusLast Update
0000393Gameplay + OpenGL[All Projects] Featurepublic2017-03-14 19:00
ReporterFishyClockwork01 
Assigned To 
PrioritylowSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Summary0000393: Expose OkayToSwitchTarget to ZScript and make it virtual
DescriptionThis function:
https://github.com/coelckers/gzdoom/blob/master/src/p_interaction.cpp#L1685

One use case being monster A never fights back monster B, but monster C will fight back monster B.

Another example would be monster A never fights back monster B, instead it will change its target to monster B's target, but only if monster B isn't targeting monster A.
Basically, having more control over infighting behavior.

I know this is THE function when it comes to deciding whether the victim will fight back something that (accidentally) hurt it. I rather not rely on doing some gross hacks (like overriding Tick and checking it there).
TagsZScript

Relationships

Activities

Graf Zahl

Graf Zahl

2017-03-06 12:27

administrator   ~0000896

Sure, but not now:
https://forum.zdoom.org/viewtopic.php?p=981984#p981984

Issue History

Date Modified Username Field Change
2017-03-06 06:02 FishyClockwork01 New Issue
2017-03-06 06:02 FishyClockwork01 Tag Attached: ZScript
2017-03-06 12:27 Graf Zahl Note Added: 0000896
2017-03-06 12:27 Graf Zahl Status new => on hold
2017-03-14 19:00 Graf Zahl Status on hold => resolved
2017-03-14 19:00 Graf Zahl Resolution open => fixed