Summary
Attempting to use (Entity:entity).SetPresentableToPlayers(false) results in a compile error.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
- use
(Entity:entity).SetPresentableToPlayers(false)in a script
Expected Result
Compile success
Observed Result
Compile fail
Script error 3509: This function parameter expects a value of type tuple(entity,?[]player), but this argument is an incompatible value of type tuple(entity,logic).
Platform(s)
Windows
Additional Notes
Workaround:
Create a FalseArray : ?[]player = false constant and pass it instead of false