Quantcast
Viewing all articles
Browse latest Browse all 11417

targetinlineofsight not working

No matter what I do, I can't seem to get this mob to only shoot when the player is in a direct line of sight. What's going on with this? It either doesn't shoot at all, or it shoots continuously regardless of how many walls are between it and the player.

Code:
guard:
  Type: SKELETON
  Health: 10
  Damage: 5
  Options:
    Despawn: false
    PreventRandomEquipment: true
    PreventItemPickup: true
    PreventOtherDrops: true
  Equipment:
  - iron_ingot:0
  - iron_helmet:4
  -...
targetinlineofsight not working

Viewing all articles
Browse latest Browse all 11417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>