Raised This Month: $ Target: $400
 0% 

Entity Touch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kiske
Veteran Member
Join Date: May 2009
Old 11-29-2010 , 07:04   Re: Entity Touch
Reply With Quote #1

Quote:
Originally Posted by ConnorMcLeod View Post
Why dont you let it just solid trigger and only change appearance when touched ?
That's what i do but to work individually.
__________________

Kiske is offline
Send a message via Skype™ to Kiske
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-29-2010 , 11:10   Re: Entity Touch
Reply With Quote #2

You mean no everyone is able to pass the wall ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 11-29-2010 , 13:17   Re: Entity Touch
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
You mean no everyone is able to pass the wall ?
He's trying to say that we want to make the ability of that block only for the play who touched it.

I told to him about the usage of pev_owner, that can be an answer for this question, but there are 2 problems.

The first, it's that if we set ent's pev_owner "player1's id", the entity will be SOLID_NOT for player1, but if player2 touches the ent while player1 is into the ent (into his size) the ent's pev_owner will be "player2's id" and player1 will get stuck.

And the second one, player's pev_owner can be ent's id, but the problem here is that we don't know which thing can make the modification of the pev_owner on the player.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Kiske
Veteran Member
Join Date: May 2009
Old 11-29-2010 , 14:47   Re: Entity Touch
Reply With Quote #4

Quote:
Originally Posted by meTaLiCroSS View Post
He's trying to say that we want to make the ability of that block only for the play who touched it.

I told to him about the usage of pev_owner, that can be an answer for this question, but there are 2 problems.

The first, it's that if we set ent's pev_owner "player1's id", the entity will be SOLID_NOT for player1, but if player2 touches the ent while player1 is into the ent (into his size) the ent's pev_owner will be "player2's id" and player1 will get stuck.

And the second one, player's pev_owner can be ent's id, but the problem here is that we don't know which thing can make the modification of the pev_owner on the player.
Thanks for giving a better example .
__________________

Kiske is offline
Send a message via Skype™ to Kiske
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 11:25.


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