nehaberlan Posted July 16, 2016 Posted July 16, 2016 Hi, I'm trying to let the PC can watch a scene in the game. I created a trigger in a room. I have script for it. The script is a little bit modified. Scriptname Room1BikScript extends ObjectReference Actor property PlayerRef Auto Event OnTriggerEnter(ObjectReference ref)if ref==PlayerRef Game.PlayBink("Room1.bik", true, true, true, true) endIfEndEvent When the PC enters in the Trigger Cube, the scene starts. There is no problem about that. However I selected "True" for the Interruptable option, it doesn't work at all. When I've pressed ESC button, it's not functioning. I tried using 1 1 1 1 also. But, I was not successful. If you can help me anyway, I'll really appreciate...
CGi Posted July 17, 2016 Posted July 17, 2016 Good question, but as interruptable is the default value, you don't have to set it.Maybe adding a DoOnce helps, if not try using an activator. Scriptname Room1BikScript extends ObjectReference Actor property PlayerRef Auto Bool DoOnce Event OnTriggerEnter(ObjectReference ref) if (ref==PlayerRef) && (!DoOnce) Game.PlayBink("Room1.bik") DoOnce = 1 EndIf EndEvent Downside: it plays only once. But if it works then you better move this script to an activator.
nehaberlan Posted July 17, 2016 Author Posted July 17, 2016 Good question, but as interruptable is the default value, you don't have to set it. Maybe adding a DoOnce helps, if not try using an activator. Scriptname Room1BikScript extends ObjectReference Actor property PlayerRef Auto Bool DoOnce Event OnTriggerEnter(ObjectReference ref) if (ref==PlayerRef) && (!DoOnce) Game.PlayBink("Room1.bik") DoOnce = 1 EndIf EndEvent Downside: it plays only once. But if it works then you better move this script to an activator. Playing once is a progress. It's better than nothing. Before, when the scene finishes, it returns to the game automatically. And when the PC goes to the cube activator trigger each time, the scene starts all the time. In Fall-Out, using ESC button works as I read. But, I didn't understand why it doesn't work in Skyrim. I'll try your script. Thank You...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.