Jump to content

[LE] [HELP] Video Event Scripting


Recommended Posts

 

Scriptname MQ305VidOutro

Event OnInit()
if (Game.GetActor().GetDialoguestate() == 0)
Debug.Trace(akArngeirRef (000002c6c7) + " Let the Way of the Voice be your guide, and the path of wisdom will be clear to you. Breath and focus, Dragonborn. Your future lies before you. ")
PlayBink("vid_outro.bik") 1 1 1 1
endif
EndEvent

 

Need help fixing this!

 

Thanks in advance!

Link to comment
Share on other sites

A simpler and easier way to do this is by checking the quest itself.

Script Example:



Quest Property MyQuest Auto
Int Property MyQuestStage Auto

EVENT onTriggerEnter(objectReference triggerRef)
If ( triggerRef == Game.GetPlayer() )
If MyQuest.IsStageDone(MyQuestStage)
Game.PlayBink("MyCoolVideo.bik")
EndIf
EndIf
EndEvent



I hope it helps you.

Edited by maxarturo
Link to comment
Share on other sites

Sorry, but what I am looking for is for the video to play at the end of the dialogue sequence speech of Arngeir after the Main Quest is finished.

 

In essence: End-Of-Arngeir-Dialogue-Cuts-To-Video-That-Replaces-Load-Screen-That-Is-Not-Able-To-Be-Skipped-That-Plays-Only-Once.

Edited by skyline777123123123
Link to comment
Share on other sites

Well then... in this case you will need to edit / add / modify the vanilla quest itself and add a script fragment to the end of Arngeir's dialogue and before the 'Load Screen' is fire (or wherever the 'Load Screen' is fire from), you will also need to add a "Wait()" function between your 'Video' and the 'Load Screen'.


But i strongly suggest you don't !, I am of the opinion that you should never touch anything vanilla.


Maybe another modder has a different idea / proposal on how you could do this without touching the vanilla quest.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...