Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
charlie mcdowell
13
Years of Service
User Offline
Joined: 22nd Aug 2012
Location:
Posted: 7th Sep 2012 19:40
ok so ive done enough searching to just post a request.

Entity is set to "stalk" the player,
its fine and dandy until the entity gets stuck on a wall.

how can i fix this that entity will either spawn to the different location or just move to around the wall.

thanks

charlie
GreenDixy
17
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 7th Sep 2012 23:04
one option you could look into to solve this is waypoints so when the ai is near the ai it will follow it around the wall

======================================
My software never has bugs. It just develops random features.
charlie mcdowell
13
Years of Service
User Offline
Joined: 22nd Aug 2012
Location:
Posted: 7th Sep 2012 23:16 Edited at: 8th Sep 2012 01:29
That's what I've been trying. I must be scripting it wrong

Edit: I'm trying to use raycasting to see how close to the wall the entity is before beginning way points. Anyone have an example o ray cast=XY

charlie
maho76
15
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 8th Sep 2012 10:24 Edited at: 8th Sep 2012 10:27
look into lift-scripts and script syntax list (sticky in scriptforum.

charlie mcdowell
13
Years of Service
User Offline
Joined: 22nd Aug 2012
Location:
Posted: 9th Sep 2012 04:10
@maho76

yea i checked that out but i may still be understanding incorrectly.

this is my code so far



i'm obviously still off otherwise it would work

charlie

Login to post a reply

Server time is: 2026-07-03 23:47:14
Your offset time is: 2026-07-03 23:47:14