waypoints: Running in circles ?
Moderator: Event DM
- JollyOrc
- Elder Sage
- Posts: 3984
- Joined: Fri Jan 17, 2003 11:41 am
- Timezone: Europe, CE(S)T
- Location: Germany
- Contact:
waypoints: Running in circles ?
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 ?
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 ?
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
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
- JollyOrc
- Elder Sage
- Posts: 3984
- Joined: Fri Jan 17, 2003 11:41 am
- Timezone: Europe, CE(S)T
- Location: Germany
- Contact:
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*
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*
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
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