Help - Search - Members - Calendar
Full Version: Global script
The Nexus Forums > Specific Games > Morrowind > Morrowind Plug-Ins > TES Construction Set
Armageddon
I'd like to play a video at the beginning of the game
please tell me how to do and how to open and modify the global script
help.gif
chr0n0ss
When exactly do you want to play this video?

You could place an activator in the starting cell of your mod (or another cell that the player will surely visit in the beginning). This activator can play a Bink video (when the PC enters the cell) with a script like this one:

---
begin playvideo

short done

if ( done == 0 )
playbink "video.bik" 0 ; set this to 1 if the player may skip the video
set done to 1
endif

end
---

About global scripts: There are several ones. What do you want to achieve? Modifying the global "main" script is not recommended, because only one of several loaded mods can do this, so your mod could perhaps interfere with them.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.