-
-
Notifications
You must be signed in to change notification settings - Fork 485
Open
Labels
enhancementNew feature or requestNew feature or request
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.
bum8hj, zjkdev and JeViCo
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request