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 , 14:47   Re: Entity Touch
Reply With Quote #1

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