-
-
Couldn't load subscription status.
- Fork 496
Open
@borsuczyna
Description
Is your feature request related to a problem? Please describe.
It's not possible to pass multiple values to ignored element
Also, it's not possible to process line that hits only given elements
Describe the solution you'd like
Allow multiple elements for ignoredElements as table
Add new optional argument validElements that accepts element or table
Make processLineOfSight accept table with options (more in additional context)
Describe alternatives you've considered
No response
Additional context
processLineOfSight ( float startX, float startY, float startZ, float endX, float endY, float endZ, [ bool checkBuildings = true, bool checkVehicles = true, bool checkPlayers = true, bool checkObjects = true, bool checkDummies = true, bool seeThroughStuff = false, bool ignoreSomeObjectsForCamera = false, bool shootThroughStuff = false, element/table ignoredElement = nil, bool includeWorldModelInformation = false, bool bIncludeCarTyres, element/table checkElements ] )
processLineOfSight(float startX, float startY, float startZ, float endX, float endY, float endZ, [ table options ] ) processLineOfSight(0, 0, 0, 321, 321, 321, { ignoreSomeObjectsForCamera = true, includeCarTyres = true, ignoredElement = myObject, checkObjects = true, checkVehicles = false })
Security Policy
- I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.