Raised This Month: $ Target: $400
 0% 

Moving Ents, move players?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Drak
Veteran Member
Join Date: Jul 2005
Old 06-16-2007 , 21:36   Moving Ents, move players?
Reply With Quote #1

I created an entity that has a random velocity, but if i player stood on top of the entity, it continues to move without the player. Is there anyway to make the player move along with it?
( kinda like the "func_train" were when the train moves, all the players do )
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 06-17-2007 , 03:20   Re: Moving Ents, move players?
Reply With Quote #2

I personally cannot think of a way to do that other than the func_train, which is very choppy.

One thing you could do, is get the entity that is standing on it (register_touch the entity with "player" entity) and move the player entity to the same origins every time the object moves.
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
pRED*
Join Date: Dec 2006
Old 06-17-2007 , 16:53   Re: Moving Ents, move players?
Reply With Quote #3

What if you made a little lip around the edge of the platform?

If you had a walls on all sides and put the user in the middle, then they would move with it. Would they still move if those walls were 1px high?
pRED* is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 06-18-2007 , 05:43   Re: Moving Ents, move players?
Reply With Quote #4

Quote:
Originally Posted by pRED* | NZ View Post
What if you made a little lip around the edge of the platform?

If you had a walls on all sides and put the user in the middle, then they would move with it. Would they still move if those walls were 1px high?
I think this would damage the player...
__________________
regalis 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 10:40.


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