Player Resource Consortium

Neverwinter Nights => Help => Topic started by: Arbaal on February 27, 2018, 02:12:44 PM

Title: Easy Question about disable teleport
Post by: Arbaal on February 27, 2018, 02:12:44 PM
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?
Title: Re: Easy Question about disable teleport
Post by: Arbaal on March 06, 2018, 09:51:07 AM
Solved with a script made to go around the problem