Raised This Month: $ Target: $400
 0% 

register_touch(bsp touch only)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
urban_ninja
Senior Member
Join Date: Feb 2009
Old 05-09-2012 , 20:44   register_touch(bsp touch only)
Reply With Quote #1

Is there a way to register a touch only for bsp/map surface? Im using register_touch() to get impact origin for rockets touching walls but the only way I know how to do register impact with map surfaces is using "*" in register touch. "*" is just a wild card and execute of every touch. I need need to be able to specifically register a touch with bsp surface.

PHP Code:
register_touch("?bsp touch only here?""tf_rpg_rocket""RocketTrail"
__________________
urban_ninja is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-09-2012 , 20:56   Re: register_touch(bsp touch only)
Reply With Quote #2

Use "worldspawn" .
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
urban_ninja
Senior Member
Join Date: Feb 2009
Old 05-09-2012 , 22:05   Re: register_touch(bsp touch only)
Reply With Quote #3

Thanks man. Exactly what I needed.
__________________
urban_ninja 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 00:21.


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