- 2
- Posts
- 7
- Years
- Seen Sep 8, 2017
Hello, i have a question, is there any posible way for a NPC to be scripted or be changed in a way that it can avoid obstacles?
for example:
if in s2 there is no obstacle then move north
if in s4 there is no obstacle then move east
if in s6 there is no obstacle then move south
if in s8 there is no obstacle then move west
just to make the NPC more intelligent
for example:
if in s2 there is no obstacle then move north
if in s4 there is no obstacle then move east
if in s6 there is no obstacle then move south
if in s8 there is no obstacle then move west
just to make the NPC more intelligent