Player waypoint

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Player waypoint

Post by agentmad007 »

hi ,

how can i make a player follow a path (long)via way point or so .....

tried with a trigger push but its too brutal and the player is propulsed at 5 meters no more

I have a kind of tunnel that size 30 meters at least........and i want the player follow it without push any keys ( after a trigger teleport )

thx
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

glue

Post by tltrude »

You can "glue" the player to a script_origin and then move the script_origin down the tunnel--to a waypoint if you like. Then "unglue" him.
Tom Trude,

Image
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

:( ok but i m not that expert with scriptin can i have more detail plz ?

about the script and how to target my script_orign
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

how would you get the origin to go down the tunnel? use an info_waypoint
and use to moveto command?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

as such

Code: Select all

$player glue $mover
$player physics_off

$mover moveto $wap1

$mover waittill movedone

$player unglue
$player physics_on

:wink:
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

Yes thats what i had from Tom trude Its exactly the same
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

right i was just clarifying for Master of Foo-d.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Post Reply