2024-06-20 15:47:42 -04:00

32 lines
1.0 KiB
Plaintext

//::///////////////////////////////////////////////
//:: Speak True Name (Action)
//:: A_TrueName.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Plays the True Name VFX on the NPC being
spoken to.
*/
//:://////////////////////////////////////////////
//:: Created By: Rob Bartel
//:: Edited By: Brad Prince
//:: Created On: September 8, 2003
//:://////////////////////////////////////////////
#include "x2_inc_toollib"
void main()
{
object oPC = GetPCSpeaker();
//effect eVFX = EffectVisualEffect(VFX_FNF_SUNBEAM);
//ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, OBJECT_SELF);
if(GetTag(GetArea(oPC)) == "Waterdeep")
{
MusicBackgroundStop(GetArea(oPC));
MusicBackgroundChangeDay(GetArea(oPC), 40);
MusicBackgroundChangeNight(GetArea(oPC), 40);
DelayCommand(0.2, MusicBackgroundPlay(GetArea(oPC)));
NightToDay(oPC, 2.0);
}
TLVFXPillar(VFX_FNF_PWSTUN, GetLocation(OBJECT_SELF), 4, 0.1, 6.0, -2.0);
}