Raised This Month: $ Target: $400
 0% 

Player getting to a special area on the map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 07-09-2006 , 15:04   Player getting to a special area on the map
Reply With Quote #1

I want to check when a players comes close to lets say Origin 0, 0, 0.
How do I do this without checking the origin in Client_Post/PreThink (I don't want to use the Think's at all)?

Thanks!
__________________
Sig(h)!
Obbin is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-09-2006 , 15:09   Re: Player getting to a special area on the map
Reply With Quote #2

hawk552's tutorial on finding entitys can be found HERE
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 07-09-2006 , 15:13   Re: Player getting to a special area on the map
Reply With Quote #3

How could I use this with a function that triggers if the user comes close to 0, 0, 0 without looping/checking with a task/Post or PreThink?

Thanks
__________________
Sig(h)!
Obbin is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-09-2006 , 15:17   Re: Player getting to a special area on the map
Reply With Quote #4

no idea lol, y not just use looping?
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 07-09-2006 , 15:27   Re: Player getting to a special area on the map
Reply With Quote #5

It takes a lot of recources :/
__________________
Sig(h)!
Obbin is offline
Shurik3n
Member
Join Date: Feb 2006
Old 07-09-2006 , 15:31   Re: Player getting to a special area on the map
Reply With Quote #6

You could make an entitiy, for example 50x50x50, and more it to 0, 0 ,0. Then register_touch with the player and the entity. So if they get withing 50 units of 0, 0, 0 it will call the touch function.
Shurik3n is offline
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 07-09-2006 , 15:33   Re: Player getting to a special area on the map
Reply With Quote #7

Thx! When I have figured how to create a 50x50x50 ent I edit!
__________________
Sig(h)!
Obbin 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 08:03.


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