I have watched both AI Tutorials and enjoyed them quite a bit.
My request would be to add something to the AI movement when it is not actively looking for you.
Meaning... IF player is not in sight... the AI will move randomly around, or to designated points, etc... THEN when player is in site do as you have already demonstrated.
___________________________________________
FATAL ERROR in
action number 1
of Step Event
for object enemy:
COMPILATION ERROR in code action
Error in code at line 3: PlayerDirection = point_direction(x, y, player.x, player.y)
at position 18: Unexpected symbol in expression.
evilhowser 2 years ago
___________________________________________
FATAL ERROR in
action number 1
of Step Event
for object object10:
COMPILATION ERROR in code action
Error in code at line 8: if ! (collision_line(x, y,object0.x, object0.y, object5, 1, 1))
at position 6: Unexpected symbol in expression.
criswiipro 2 years ago
Hm... I had no such error. Are you sure you copied correctly?
EneilShade 2 years ago
cool thanks
torysbom 2 years ago
I have watched both AI Tutorials and enjoyed them quite a bit.
My request would be to add something to the AI movement when it is not actively looking for you.
Meaning... IF player is not in sight... the AI will move randomly around, or to designated points, etc... THEN when player is in site do as you have already demonstrated.
0MrENigma0 2 years ago
No problem. A roaming AI coming right up... I just have to figure out how to do one. Give me at most 5 days (it will likely be less).
EneilShade 2 years ago
He He... no rush sir. I just appreciate the effort.
0MrENigma0 2 years ago
Very nice... thank you!
0MrENigma0 2 years ago