Raised This Month: $ Target: $400
 0% 

[Help] Teleport and entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 01-06-2015 , 02:39   Re: [Help] Teleport and entity
Reply With Quote #1

Quote:
Originally Posted by Shiina.Mashiro View Post
@akcaliberg
Tried your code but it teleport me to somewhere, just like i have noclip

@RateX
1. Negate Vel[0] to Vel[2] you mean Vel[0] = Vel[2] or Vel[2] = Vel[0] ?
2. Ya I checked at dias's oberon boss and it works fine but how to remove the entity at newround ?
maybe the enemies behind is wall or something. It works fine for me.
akcaliberg is offline
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 01-06-2015 , 03:07   Re: [Help] Teleport and entity
Reply With Quote #2

Quote:
Originally Posted by akcaliberg View Post
maybe the enemies behind is wall or something. It works fine for me.

I'm not at home so I will send you the image later
So do you have anything to avoid this ?
__________________
Shiina.Mashiro is offline
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 01-06-2015 , 08:11   Re: [Help] Teleport and entity
Reply With Quote #3

Quote:
Originally Posted by Shiina.Mashiro View Post
I'm not at home so I will send you the image later
So do you have anything to avoid this ?
Avoid what? If you mean the wall, you can simply check if there is a wall at that origin by creating an entity. If the entity touches anything that means there is another entity at the target origin and you can stuck if you teleport there. You can use that information however you want You can abort teleportation or you can teleport targets near. It is up to you.
akcaliberg is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-06-2015 , 09:37   Re: [Help] Teleport and entity
Reply With Quote #4

Quote:
Originally Posted by akcaliberg View Post
Avoid what? If you mean the wall, you can simply check if there is a wall at that origin by creating an entity. If the entity touches anything that means there is another entity at the target origin and you can stuck if you teleport there. You can use that information however you want You can abort teleportation or you can teleport targets near. It is up to you.
Lol, use a trace.
__________________
HamletEagle is offline
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 01-06-2015 , 10:05   Re: [Help] Teleport and entity
Reply With Quote #5

Quote:
Originally Posted by HamletEagle View Post
Lol, use a trace.
TraceLine wont be sensitive enough.
akcaliberg is offline
Reply



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 15:32.


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