View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000145 | Gameplay + OpenGL | [All Projects] Feature | public | 2017-01-31 05:12 | 2017-01-31 06:50 |
Reporter | ibm5155 | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Summary | 0000145: zscript - actor a_getactorfromtid(int tid); or actor getactorfromtid(int tid); | ||||
Description | a 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 Information | Example: 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. | ||||
Tags | No tags attached. | ||||