View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007477 | Multi Theft Auto : San Andreas | Client | public | 2013-01-24 18:09 | 2013-02-03 11:42 |
Reporter | Devan_LT | Assigned To | ccw | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | 1.3.2 | Fixed in Version | 1.3.2 | ||
Summary | 0007477: processLineOfSight doesn't return world object info without ignoredElement being set | ||||
Description | If you want the function to return the world object info, you have to provide an element as ignoredElement argument. If you set it to nil, the object ID won't be returned. | ||||
Steps To Reproduce | local hit,hitx,hity,hitz,hitelement,nx,ny,nz,material,light,part,objid = processLineOfSight(0,0,1000,0,0,-100,true,false,false,true,true,true,false,true,localPlayer,true) If you call this while being in the center of the map, objid will contain the object ID. local hit,hitx,hity,hitz,hitelement,nx,ny,nz,material,light,part,objid = processLineOfSight(0,0,1000,0,0,-100,true,false,false,true,true,true,false,true,nil,true) If you call this, objid will be nil. | ||||
Tags | No tags attached. | ||||