30 lines
831 B
Plaintext
30 lines
831 B
Plaintext
|
|
void main()
|
|
|
|
{
|
|
object oTarget;
|
|
effect eVFX;
|
|
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Unlock and open "nerkdr2".
|
|
oTarget = GetObjectByTag("nerkdr2");
|
|
SetLocked(oTarget, FALSE);
|
|
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
|
|
|
// Destroy objects (not fully effective until this script ends).
|
|
eVFX = EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_1);
|
|
oTarget = GetObjectByTag("Nerkaox");
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oTarget);
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
oTarget = GetObjectByTag("Inrikox");
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oTarget);
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
DelayCommand(3.1, DestroyObject(GetObjectByTag("Nerka22")));
|
|
DelayCommand(3.1, DestroyObject(GetObjectByTag("Inrik2zx")));
|
|
}
|
|
|