26 lines
506 B
Plaintext
26 lines
506 B
Plaintext
|
|
void main()
|
|
{
|
|
object oSelf = OBJECT_SELF;
|
|
object oTarget;
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
|
|
|
// Cutscene functions:
|
|
SetCutsceneMode(oPC, TRUE);
|
|
|
|
// Cutscene functions:
|
|
DelayCommand(1.5, SetCutsceneMode(oPC, FALSE));
|
|
|
|
oTarget = GetObjectByTag("lnkhmrnghts1");
|
|
|
|
DelayCommand(2.0, AssignCommand(oTarget, ActionStartConversation(oPC, "")));
|
|
|
|
// Destroy an object (not fully effective until this script ends).
|
|
DelayCommand(2.5, DestroyObject(oSelf));
|
|
|
|
}
|
|
|