Page 1 of 1

NPC Waypoints

Posted: Tue Nov 21, 2006 8:14 pm
by jackybaby
Anyone have insight on how to link the last waypoint to the first without overlaying it?

Re: NPC Waypoints

Posted: Tue Nov 21, 2006 8:41 pm
by driller
I am not sure what you mean.

-driller
jackybaby wrote:Anyone have insight on how to link the last waypoint to the first without overlaying it?

Posted: Tue Nov 21, 2006 9:19 pm
by jackybaby
When creating a waypoint set for an NPC to follow, the NPC only follows along in a linear pattern. i.e. "point a" to "point b"; "point b" to "point c"; and back again.

I wish to know how to link "point c" to "point a" without having to create a "point d" and overlay it on top of "point a".

Posted: Wed Nov 22, 2006 6:01 am
by driller
Why?

-driller
jackybaby wrote:When creating a waypoint set for an NPC to follow, the NPC only follows along in a linear pattern. i.e. "point a" to "point b"; "point b" to "point c"; and back again.

I wish to know how to link "point c" to "point a" without having to create a "point d" and overlay it on top of "point a".

Posted: Wed Nov 22, 2006 6:28 am
by jackybaby
Just curious as to if I was doing it correctly. If overlaying the last waypoint is the only way to create a loop, then that's what I must do I suppose.

Posted: Wed Nov 22, 2006 8:26 am
by Caesius
Is this information related to your query?

Posted: Wed Nov 22, 2006 2:34 pm
by jackybaby
Caesius wrote:Is this information related to your query?
Thanks, that information answered my question and then some. I appreciate it.

Posted: Wed Nov 29, 2006 10:19 am
by Difas
how can i make something wander randomly? if thats possible...

Posted: Wed Nov 29, 2006 10:47 am
by Pretty Fly White Guy
you'd have to make a lot of waypoints, and then they would seem to walk randomly.

Posted: Wed Nov 29, 2006 10:51 am
by Elf of Silver
Or you could write a wandering script and put it in the OnSpawn of the creature. Something like this should work:

Code: Select all

void main()
{
ActionRandomWalk();
}

Posted: Wed Nov 29, 2006 11:54 am
by Difas
thanks... its just that paterns are ugly...