Raised This Month: $ Target: $400
 0% 

Player touches my entity - how to detect?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-18-2009 , 00:23   Re: Player touches my entity - how to detect?
Reply With Quote #1

register_touch("myent", "player", "YourFunction")


Then you won't have to filter through info_target and through toucher ents.
If nothing is triggered, see your ent properties.


set_pev(ent, pev_owner, id) MAY prevent id from touching it for example.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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:09.


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