Parameters |
Description |
entityId |
AI's entity id |
targetId |
AI's target entity id |
radius |
max distance in 2d to target |
minheight |
min distance in height |
maxheight |
max distance in height |
angle |
FOV to include target |
(distance,angle) pair between entity and target (degrees) if melee is possible, nil otherwise
!
! returns 1 if the AI performing melee is actually hitting target.!
!
!
!
!
!
!
CheckMeleeDamage
Copyright (c) 2012. All rights reserved.
|