Jump to content

Home

Area Testing


Recommended Posts

Posted

I was just wondering if there is such a function in K2 TSL that allows the game to check where the PC is and if he has gone near or at a certan place. For example: Lets say we have a room with 2 sides. A + B. The PC is currently in A.

Is there a way of getting a script to run if he/she steps into B? Or even something that activated when the PC gets too close to a certan object?

 

--------------------------
|           |           | 
|           |           | 
|     a     |     B     | 
|           |           | 
|           |           | 
--------------------------

 

Thanks!

 

:)

Posted
  ~Flash said:
Is there a way of getting a script to run if he/she steps into B? Or even something that activated when the PC gets too close to a certan object?

 

Well, that would be called a "trigger," (<_<) which activates when you go to it. So, if there is a trigger between rooms A and B, then, an event will happen.

If it uses a script, I don't happen to know what that script would be, but, what I'm thinking of might be a waypoint...

Whether or not it doesn't use a script, I don't necessarily know how they work.

Hope my (useless) bit of info could help..

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...