View Issue Details

IDProjectCategoryView StatusLast Update
0000544Gameplay + OpenGL[All Projects] Featurepublic2017-04-30 18:32
Reporterdawnbreez 
Assigned ToGraf Zahl 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionopen 
Summary0000544: [ZScript/ACS] SetTIDByRaytrace
DescriptionThere appears to be no way to get a nearby actor to perform actions on. This seems a little bit unnecessary at first glance--A_QuakeEx handles radius damage, you can use the custom attack functions for pushing and hurting--but there's a few more complex things that would be easier if you could raytrace to find actors. For instance, one could cause a group of nearby monsters to attack a hologram of the player instead of the player himself, without having to write DECORATE definitions for the monsters, by repeatedly firing rays at multiple angles, getting a TID for a monster hit by this ray, and using that as a reference to call A_SetPointer.
Alternatively, alternate versions of A_SetPointer and other such functions could be useful--for instance, A_SetPointerRadius, similar to A_RadiusGive. However, a solution that can be swapped in easily would be best, and setting a TID with a ray makes it possible to swap that TID in for all kinds of functions.
TagsACS, ZScript

Relationships

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-04-05 23:54 dawnbreez New Issue
2017-04-05 23:54 dawnbreez Tag Attached: ACS
2017-04-05 23:54 dawnbreez Tag Attached: ZScript
2017-04-14 18:01 Graf Zahl Assigned To => Graf Zahl
2017-04-14 18:01 Graf Zahl Status new => on hold
2017-04-30 18:32 Rachael Status on hold => closed