Page 1 of 1

waypoints: Running in circles ?

Posted: Sun Jun 01, 2003 8:35 pm
by JollyOrc
Hi!

I want a NPC to walk in circles, instead of walking the series of waypoints back.

so, by default the NPC walks #1 #2 #3 #4 #3 #2 #1 #2 etc...

I want it to walks #1 #2 #3# 4# #1 #2# 3# etc.

Is it possible, in an easy way ?

Posted: Mon Jun 02, 2003 5:10 pm
by Actually
I *thought* Themicles had done some work to fix this on Travellers, but I could be wrong.

Here's a kludge that might work...

Set waypoint #4 to basically sit right on top of #1. Then, when the NPC reaches #4, use a JumpTo to get them back to #1. Since they are in such close proximity, there probably won't be a noticable "blip" as they jump, except maybe in very high lag. Then they could just walk the 4 points again, over and over.

Bye Now,
Jerry Cornelius - Script Monkey

Posted: Mon Jun 02, 2003 5:17 pm
by JollyOrc
that is so kludgy, I think the poor waitress will just have to walk her round back and forth.

*note to self: consider selling these staff dresses for "The Canvas". They look hot*

Posted: Mon Jun 02, 2003 6:37 pm
by Actually
Not as kludge-tastic as the teleporting columns to get people on and off boats. *laughs*

Yer call, but I say give it a try. I seriously doubt there will be a noticable "dissapearance" by the NPC.

Bye Now,
Jerry Cornelius - I'll give ya twenty bucks to throw the whammy on Chavez.

Posted: Mon Jun 02, 2003 6:56 pm
by JollyOrc
thing is: With the things I've planned for this Inn, I'm simply too lazy to do really worry about the waypoint thing.

The RoomService lights are still giving me nightmares, as they simply do not work as I want to (the dreaded "why-oh-why-does-the-candle-do-not-go-out?"-issue)

Then there's this whole undiscovered field of the bar... A persistant chest out of which people can buy things as in:

start conversation
order an Ale
take 20 gp from PC
put 15 gp into chest (the difference is the wage for the waitress that's doing her rounds)
take 1 Ale from chest
give 1 Ale to PC

with the needed checks if there is actually enough to drink there, if the PC has the money, etc....

Perhaps I should start on subcontracting more... *sighs*

Posted: Mon Jun 02, 2003 7:10 pm
by Jordicus
what about just making the waitress walk to a random waypoint instead of walking a circuit? that would probably be more life-like than always walking in a circle

Posted: Mon Jun 02, 2003 7:35 pm
by JollyOrc
good idea, I'll do that.

Posted: Fri Jun 13, 2003 8:47 am
by Dhalmoh
if you wanted her to walk in a circle.
you don't need to make the 4'th waypoint on top the 1'st one.
Just make the jump to script like it was part of her run.
So she walks 1,2,3 is the last and jump straigth to 1 again ?
understand what i mean ?
You don't have to make a 4'th point under the 1'st, because if you use jumpto she will walk the distance anyhow ?

Or does jumpto mean she will be transported ? Wow, then i know what to use. Now i need to figure out how