AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Touch Event (https://forums.alliedmods.net/showthread.php?t=298604)

Creater RJ 06-17-2017 13:35

Touch Event
 
I m creating a Map, i want to make a invisible wall/block/brush and catch touch event and also player must be able to walkthrough that wall.

Things I tried so far a
I tried attaching func_illusionary entity and then with amx set the entity to SOLID_TRIGGER
also I tried with info_target and func_wall, func_wall works but it wont allow players to pass and also it is visible.

Also I m detecting the entity using pfn_keyvalue function with some custom info attached to the entity while creating the map.

RE: Also if it is possible to catch a entity inside a zone ? ( buyzone, escapezone, etc) so it can do my work

Natsheh 06-17-2017 17:06

Re: Touch Event
 
Wait are you creating the brush wall entity from a script or while creating the map and trying to catch it by a script?

Creater RJ 06-17-2017 17:35

Re: Touch Event
 
Quote:

Originally Posted by Natsheh (Post 2529435)
Wait are you creating the brush wall entity from a script or while creating the map and trying to catch it by a script?

Creating a map and trying to catch it with script.


All times are GMT -4. The time now is 23:03.

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