Player Resource Consortium

 

Author Topic: Easy Question about disable teleport  (Read 360 times)

0 Members and 1 Guest are viewing this topic.

February 27, 2018, 02:12:44 PM
  • Adept
  • *
  • Posts: 16
  • Karma: +0/-0
  • New Member
    • View Profile

In the prc include file, i've found the correct switch i would like to use:

 * A value of PRC_DISABLE_TELEPORTATION_TO_AREA. This disables teleporting
 * from other areas to the area in question.
 */
const int PRC_DISABLE_TELEPORTATION_TO_AREA             = 0x2;


I've understood that if i set the correct variable on the area, that area should not be a target for teleport.

Someone can say me what kind of variable i have to set?

Example:

PRC_DISABLE_TELEPORTATION_TO_AREA                 int                   2
??
In this way it won't work. 0X2 IS AN hexadecimal? What is the correct int value to make it work?


March 06, 2018, 09:51:07 AM
Reply #1
  • Adept
  • *
  • Posts: 16
  • Karma: +0/-0
  • New Member
    • View Profile

Solved with a script made to go around the problem