13 lines
213 B
Plaintext
13 lines
213 B
Plaintext
|
|
void main()
|
|
{
|
|
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC);
|
|
if (GetIsObjectValid(oPC) && GetIsPC(oPC))
|
|
{
|
|
if (GetDistanceToObject(oPC) < 3.0)
|
|
{
|
|
SpeakString("Fortress Pass");
|
|
}
|
|
}
|
|
}
|