Rune_PRC8/_module/nss/gz_bindstone_tlk.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

32 lines
950 B
Plaintext

//::///////////////////////////////////////////////
//:: Name: DAoC Style Bindstone Script
//:: FileName: gz_binstone_tlk
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: Dom Queron
//:: Created On: 6/25/02 - v.0.1
//:://////////////////////////////////////////////
void TurnOnLight()
{
PlayAnimation (ANIMATION_PLACEABLE_ACTIVATE);
SetPlaceableIllumination (OBJECT_SELF, TRUE);
RecomputeStaticLighting (GetArea(OBJECT_SELF));
}
void main()
{
object oPC = GetPCSpeaker();
string strBP = GetTag(OBJECT_SELF);
string strBPName = GetName(OBJECT_SELF);
SetLocalString(oPC,"T1_PLAYER_LASTBINDPOINT",strBP);
SetLocalString(oPC,"T1_PLAYER_LASTBINDPOINT_NAME",strBPName);
string strSay = "You are now bound at " + strBPName + "!";
FloatingTextStringOnCreature(strSay, oPC,FALSE);
TurnOnLight();
}