Advertisement
Guest User

Untitled

a guest
Apr 5th, 2020
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.46 KB | None | 0 0
  1.    _begPos = positionCameraToWorld [0,0,0]; // <----- THIS IS WHERE THE ISSUE IS MOST LIKELY
  2.    _begPosASL = AGLToASL _begPos;
  3.    _endPos = positionCameraToWorld [0,0,1000]; // <----- THIS IS WHERE THE ISSUE IS
  4.    _endPosASL = AGLToASL _endPos;
  5.  
  6.    _ins = lineIntersectsSurfaces [_begPosASL, _endPosASL, player, objNull, true, 1, "FIRE", "NONE"]; _parent = _ins select 0 select 3; _ins2 = [_parent, "FIRE"] intersect [_begPos, _endPos]; _ins2 select 0 select 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement