Raised This Month: $32 Target: $400
 8% 

[TF2] How to check if a player is in a Custom Trigger.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Steveh
Member
Join Date: Oct 2010
Old 01-12-2012 , 04:07   [TF2] How to check if a player is in a Custom Trigger.
Reply With Quote #1

Hi,

I was wondering; Is it possible to check to see if a player is in a Trigger on a map?

I would like to use this as a custom trigger for a new plugin I am thinking about creating. For example, if a player is in a Trigger with a classname trigger_psThirdperson, it will execute code in the plugin.


Thanks!
Steveh is offline
x6herbius
Senior Member
Join Date: May 2011
Location: West Sussex, UK
Old 01-12-2012 , 05:23   Re: [TF2] How to check if a player is in a Custom Trigger.
Reply With Quote #2

At a guess, you could use a trigger_multiple with a specific name, then search for this name when the plugin starts and add in some OnStart/EndTouch I/O to monitor.
x6herbius is offline
Send a message via Skype™ to x6herbius
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 06:16.


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