Want NPC to move to path_corner after teleport

Want NPC to move to path_corner after teleport

Re: Want NPC to move to path_corner after teleport Posted by greensinge on Tue Jan 17th 2006 at 3:18am
greensinge
24 posts
Posted 2006-01-17 3:18am
24 posts 112 snarkmarks Registered: Feb 21st 2005 Occupation: Media, Culture & Society Student Location: Britain
I've been making a small stargate-based map, and i've managed to make two seperate locations, each with its own stargate and activation panel. The stargate is activated by the switch, which opens the portal and enables teleportation, and it makes it possible for the player, any NPC, and any physical object to pass through the portal (teleporter).

Here is my problem: :confused:

Whenever i try to send an NPC through the portal, they do manage to transport through it, but for some reason they just keep coming back through, then going back out, then coming back through, etc. etc. until the portal shuts down again (the portal is set on a 10 second timer).

What i want the NPC's to be able to do, is walk from one location, into the stargate, come out the other side, and continue down the platform into the other location then stop; instead of just prancing about like an idiot in between dimensions!!! It's almost as if they are mocking me! :mad:

The following two pictures are of the two seperate locations and the two stargates:

User posted image

User posted image

Pretty cool lookin', huh? :smile:

So if anyone has any idea how i can make the NPC's stop being idiots! Please let me know as soon as possible. I will probably upload this little map for people to mess around with, once it's completed of course; therefore the sooner i get help with this the better!

Thanks chaps! :rolleyes:
...and he saw that it was GOOOOOD!
Re: Want NPC to move to path_corner after teleport Posted by wil5on on Tue Jan 17th 2006 at 8:35am
wil5on
1733 posts
Posted 2006-01-17 8:35am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Perhaps use some sort of scripted sequence at each end which is triggered when an npc goes through the stargate?
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: Want NPC to move to path_corner after teleport Posted by greensinge on Tue Jan 17th 2006 at 3:33pm
greensinge
24 posts
Posted 2006-01-17 3:33pm
24 posts 112 snarkmarks Registered: Feb 21st 2005 Occupation: Media, Culture & Society Student Location: Britain
I've just tried that but it didnt really work. The NPC comes out of the other stargate and lands on a trigger iv made which is supposed to start a sequence for him to walk down the platform to the end of the cave. It still doesnt work though, he just stands there as if the trigger doesnt apply to him, or the sequence isnt working or something. (The trigger is set so that anything that touches it causes the sequence to begin, but it still doesnt work; and yes, the sequence target is that specific npc).

Here's a diagram of what happens, just so you can all understand a little better:

User posted image

Ideally however i would like it so that anyone (as aposed to just one specified NPC) who walks through the portal will automatically go down the platform and move out of the way. Everytime i go through the portal after the NPC i get stuck inside them and its pretty annoying.
Re: Want NPC to move to path_corner after teleport Posted by SmokersCough on Tue Jan 17th 2006 at 4:38pm
SmokersCough
28 posts
Posted 2006-01-17 4:38pm
28 posts 13 snarkmarks Registered: Dec 20th 2005
First things first make sure the scripted_sequence has these flags set

Priority script, No Interruptions, overide Ai.

Ensure you have path nodes that are placed in front of the ramp and just after the ramp (i'm assuming there is a flat surface there).

I'm not sure how you trigger the NPC to go through the teleport if this is done using a scripted sequence to move him to the destination to teleport try setting that scripted sequence to have it's next script set to the one on the otherside of the portal. This should hopefully get things working, if not please explain in more detail how you are getting the npc to teleport? Also make sure that if the bursh the player touches after going through the portal has the option to be trigger by NPC's should be in the flags or something (i think) good luck.

Edit: Sorry didn't notice the rest, make sure you have path nods, it sounds like the bpc doesn't know where to go as there are no path nodes. especially if they are following you. Also i have found some issues with having scripted sequences and changing them, normally i now delete them and replace them. I had issue with npcs not being able to navigate over func_brush based objects until i deleted and replace the scripted_Sequence.
Re: Want NPC to move to path_corner after teleport Posted by Dark_Kilauea on Thu Jan 19th 2006 at 3:33am
Dark_Kilauea
629 posts
Posted 2006-01-19 3:33am
629 posts 123 snarkmarks Registered: Apr 15th 2005 Occupation: Fast Food Location: USA
Are you using info_nodes?

If not, put one in on each side of the portal.
Dark_Kilauea
DVS Administration
http://www.dvstudio-production.com/