42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Mephistopheles' Fate, Serve the Ruler of Hell (Action Script)
|
|
//:: H9a_Meph_Fate9.nss
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Mephistopheles becomes PC's servant; PC rules
|
|
Hell.
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Rob Bartel
|
|
//:: Edited By: Brad Prince
|
|
//:: Created On: September 10, 2003
|
|
//:://////////////////////////////////////////////
|
|
#include "hx_inc_meph"
|
|
void main()
|
|
{
|
|
/*//Set M's Fate local
|
|
SetLocalString(GetModule(), "sMephistophelesFate", "HellServant");
|
|
|
|
//Apply the Coverup effect
|
|
location lMeph = GetLocation(OBJECT_SELF);
|
|
effect eCover = EffectVisualEffect(VFX_FNF_STRIKE_HOLY);
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eCover, lMeph);
|
|
|
|
//Swap in the small version
|
|
DestroyObject(OBJECT_SELF);
|
|
object oMephSmall = CreateObject(OBJECT_TYPE_CREATURE, "mephsmall", lMeph);
|
|
|
|
//Have him bow in submission.
|
|
AssignCommand(oMephSmall, PlayAnimation(ANIMATION_FIREFORGET_BOW));
|
|
|
|
//Add Journal entry
|
|
object oPC = GetPCSpeaker();
|
|
AddJournalQuestEntry("XP2_Main", 110, oPC, TRUE, TRUE);
|
|
DelayCommand(2.7, ExecuteScript("hx_sendpc_to_end", oPC));
|
|
*/
|
|
|
|
//Destroy Mephistopheles
|
|
DoMephEnd(OBJECT_SELF, GetPCSpeaker(), 9);
|
|
}
|