View Issue Details

IDProjectCategoryView StatusLast Update
0000145Gameplay + OpenGL[All Projects] Featurepublic2017-01-31 06:50
Reporteribm5155 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0000145: zscript - actor a_getactorfromtid(int tid); or actor getactorfromtid(int tid);
Descriptiona new zscript function that return the first actor pointer found by a given tid.

if there's a single object with a tid x, it'll return the pointer for that object, if more than one, it'll return the first pointer for the first object found with the given tid.


Why this function? because now alot of functions in zscript requires you to using an actor pointer, but at some cases you may only have the tid from the objects you want, so you'll need somehow a way to convert those tids into actors ptr.
Additional InformationExample:
My reverse raycast mod requires this function CheckSight to work.
on acs it Works fine because it just requires a tid, but in zscript it doesn't because it requires an actor pointer instead of a tid, so I need a way to get those poiters by a given tid.
TagsNo tags attached.

Relationships

Activities

Graf Zahl

Graf Zahl

2017-01-31 06:50

administrator   ~0000299

This already exists in the form of the ActorIterator class.

Issue History

Date Modified Username Field Change
2017-01-31 05:12 ibm5155 New Issue
2017-01-31 06:50 Graf Zahl Note Added: 0000299
2017-01-31 06:50 Graf Zahl Status new => closed
2017-01-31 06:50 Graf Zahl Resolution open => no change required