Raised This Month: $ Target: $400
 0% 

Teleport player in an odd way


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
IAmReallyCool
Member
Join Date: Nov 2013
Old 11-07-2014 , 05:03   Teleport player in an odd way
Reply With Quote #1

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..
IAmReallyCool is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-07-2014 , 05:20   Re: Teleport player in an odd way
Reply With Quote #2

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.
__________________
HamletEagle is offline
IAmReallyCool
Member
Join Date: Nov 2013
Old 11-07-2014 , 05:35   Re: Teleport player in an odd way
Reply With Quote #3

How can I set the origin "on the fly in the air"?
IAmReallyCool is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-07-2014 , 05:38   Re: Teleport player in an odd way
Reply With Quote #4

I mean to lift the player on the Y axis, if you need him to "fly".
__________________
HamletEagle is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-07-2014 , 05:54   Re: Teleport player in an odd way
Reply With Quote #5

This is the plugin: A* Pathfinding API

Last edited by zmd94; 11-07-2014 at 05:54.
zmd94 is offline
IAmReallyCool
Member
Join Date: Nov 2013
Old 11-07-2014 , 07:25   Re: Teleport player in an odd way
Reply With Quote #6

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..

Last edited by IAmReallyCool; 11-07-2014 at 07:26.
IAmReallyCool is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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