issues
search
dazrave
/
28FragsLater
A GTAV script based on the popular post-apocalyptic zombie film '28 Days Later'.
1
stars
0
forks
source link
Infected attack nearest ped
#29
Open
dazrave
opened
7 years ago
dazrave
commented
7 years ago
Cycle through all peds
Get distance from each ped
Arrange in nearest to furthest order
Check to see if nearest is infected
If nearest is infected, check next
If nearest is ped, set as target
Set nearest ped to flee from infected