Server Totals
Mikona - (1)
Le'Or - (1)
Elysia - (1)
Ferrell - (0)
M'Chek - (0)
Deglos - (0)
Wilderness - (0)
Visimontium - (0)
Underdark - (0)
Total players: 3
Gallery

Links Menu

waypoints: Running in circles ?

Moderators: Nighthawk4, Dungeon Masters

waypoints: Running in circles ?

PostAuthor: JollyOrc » Sun Jun 01, 2003 8:35 pm

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 ?
User avatar
JollyOrc
QA Resource
 
Posts: 3900
Joined: Fri Jan 17, 2003 11:41 am
Location: Germany
Timezone: GMT+1

PostAuthor: Actually » Mon Jun 02, 2003 5:10 pm

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

Actually
Sage
 
Posts: 1823
Joined: Sat Dec 14, 2002 10:11 pm
Location: Red Zone: Cuba

PostAuthor: JollyOrc » Mon Jun 02, 2003 5:17 pm

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*
User avatar
JollyOrc
QA Resource
 
Posts: 3900
Joined: Fri Jan 17, 2003 11:41 am
Location: Germany
Timezone: GMT+1

PostAuthor: Actually » Mon Jun 02, 2003 6:37 pm

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.

Actually
Sage
 
Posts: 1823
Joined: Sat Dec 14, 2002 10:11 pm
Location: Red Zone: Cuba

PostAuthor: JollyOrc » Mon Jun 02, 2003 6:56 pm

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*
User avatar
JollyOrc
QA Resource
 
Posts: 3900
Joined: Fri Jan 17, 2003 11:41 am
Location: Germany
Timezone: GMT+1

PostAuthor: Jordicus » Mon Jun 02, 2003 7:10 pm

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
User avatar
Jordicus
Team Member; Retired with Honors
 
Posts: 8048
Joined: Tue Jan 21, 2003 3:46 pm
Location: Whitehall, PA (GMT -4)

PostAuthor: JollyOrc » Mon Jun 02, 2003 7:35 pm

good idea, I'll do that.
User avatar
JollyOrc
QA Resource
 
Posts: 3900
Joined: Fri Jan 17, 2003 11:41 am
Location: Germany
Timezone: GMT+1

PostAuthor: Dhalmoh » Fri Jun 13, 2003 8:47 am

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

Dhalmoh
Prince of Bloated Discourse
 
Posts: 193
Joined: Sat Jun 07, 2003 4:12 pm


Return to NWN Scripting

Who is online

Registered users: Bing [Bot], Google [Bot], l1t3r