Auto Detector [HELP NEEDED]
#1

How to make a script. For example when a player can near to the object and NPC it gives a message to player. Please help me in both part. Object and NPC
Reply
#2

have I asked a tough question
Reply
#3

I suggest you use Incognito's streamer, and create dynamic areas, then use OnPlayerEnterDynamicArea.

If not, you will have to loop through max players checking IsPlayerInRangeOfPoint, which is very resource intensive.
Reply
#4

do you have any other quick method
Reply
#5

There is no quick method, the best method is the streamed area idea
Reply
#6

well that would lag too much
Reply
#7

You can create the object and use a timer to detect if the player is near it, using IsPlayerInRangeOfPoint.
Reply
#8

Quote:
Originally Posted by Jordan Smith
Посмотреть сообщение
well that would lag too much
No, it wouldn't. It's a more efficient method than the alternative Rachael suggested.
Reply
#9

Quote:
Originally Posted by Amit_B
Посмотреть сообщение
You can create the object and use a timer to detect if the player is near it, using IsPlayerInRangeOfPoint.
I believe this would work well.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)