AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Teleport player in an odd way (https://forums.alliedmods.net/showthread.php?t=251167)

IAmReallyCool 11-07-2014 05:03

Teleport player in an odd way
 
What I wanna do is teleport a player to enemy spawn in a very interesting way by changing his velocity i guess and setting player's movetype noclip. I dont want to just simply change players origin, i want to make player travel floating in the air from point A to point B with defined speed and noclip.

any ideas how to make it? I have no ideas how I can make it..

HamletEagle 11-07-2014 05:20

Re: Teleport player in an odd way
 
You may use APathFinding by BlackRose to get the path, then set the player origin on the fly in the air, and set a velocity on it.

IAmReallyCool 11-07-2014 05:35

Re: Teleport player in an odd way
 
How can I set the origin "on the fly in the air"?

HamletEagle 11-07-2014 05:38

Re: Teleport player in an odd way
 
I mean to lift the player on the Y axis, if you need him to "fly".

zmd94 11-07-2014 05:54

Re: Teleport player in an odd way
 
This is the plugin: A* Pathfinding API

IAmReallyCool 11-07-2014 07:25

Re: Teleport player in an odd way
 
I dont really get the idea how I am supposed to let player "fly" using these natives, it will just calculate the way for me from point A to point B. Basically the way doesnt give me anything..


All times are GMT -4. The time now is 17:46.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.