Enemy Vision - KageDesu/Alpha-ABS-Z GitHub Wiki

⚠️ Information actual for version 0.8.7 and above

AABSZ_VisionTypes

You can set triangle zone vision for any enemy
It's allow you create a stealth gameplay elements in your game.

1. How set triangle zone vision

Use ABS parameter <tVisor:X>, where X - triangle base length * 2
For triangle straight length using ABS parameter <viewRadius:X>

2. Addition spot (peripheral vision)

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

3. How see enemy visors in game

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

Example: uAPI.drawEnemyVisors(true);

⚠️ **GitHub.com Fallback** ⚠️