AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   register_touch(bsp touch only) (https://forums.alliedmods.net/showthread.php?t=184877)

urban_ninja 05-09-2012 20:44

register_touch(bsp touch only)
 
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"


hornet 05-09-2012 20:56

Re: register_touch(bsp touch only)
 
Use "worldspawn" .

urban_ninja 05-09-2012 22:05

Re: register_touch(bsp touch only)
 
Thanks man. Exactly what I needed.


All times are GMT -4. The time now is 00:21.

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