Raised This Month: $51 Target: $400
 12% 

Move entity to point


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
peenut
Member
Join Date: Nov 2013
Old 04-24-2017 , 20:14   Move entity to point
Reply With Quote #1

I'm trying to move an entity from point A to point B. I can loop TeleportEntity using timers and calculate points in line, but this isn't optimal and since CreateTimer don't allow arrays it can be hazzle.

Does anybody know a way to do this?
peenut is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 04-24-2017 , 21:07   Re: Move entity to point
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=286275
8guawong is offline
peenut
Member
Join Date: Nov 2013
Old 04-24-2017 , 22:18   Re: Move entity to point
Reply With Quote #3

Cool! I haven't tried func_tracktrain before, but im not sure how to implement something like this.
Basically im just trying to move a sprite from one player to another in a linear line.

I tried running that code though and it gave me all sorts of errors.

Is using tracktrain path the only way to do something like this?

Last edited by peenut; 04-24-2017 at 22:19.
peenut is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 04-25-2017 , 18:27   Re: Move entity to point
Reply With Quote #4

You can parse an ArrayList via a timer.
__________________
Neuro Toxin 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 01:20.


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