-
Notifications
You must be signed in to change notification settings - Fork 0
Enemy Vision
Pheonix KageDesu edited this page Jan 16, 2023
·
2 revisions
You can set triangle zone vision for any enemy
It's allow you create a stealth gameplay elements in your game.
Use ABS parameter <tVisor:X>, where X - triangle base length * 2
For triangle straight length using ABS parameter <viewRadius:X>

With <tVisor:X>, you can add ABS parameter <sideVisor:1> - it's adding peripheral vision to enemy

Use script call: uAPI.drawEnemyVisors(true|false) - for activate or deactivate enemy vision drawing on map
Example: uAPI.drawEnemyVisors(true);