Armageddon
Feb 10 2004, 12:20 PM
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
chr0n0ss
Feb 10 2004, 01:56 PM
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.