Jump to content

Global script


Armageddon

Recommended Posts

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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