//::///////////////////////////////////////////////
//:: 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();
}