Jump to content
Play3r

plays video but get error.

Recommended Posts

_video = ["video\Salutas_outro.ogv"] spawn BIS_fnc_playVideo; 
waitUntil {scriptDone _video};
 

This script have i put inside a trigger on ACT : _video = ["video\Salutas_outro.ogv"] spawn BIS_fnc_playVideo; 
waitUntil {scriptDone _video};

 

i get a error but the video plays fine..

 

2ujtjl4.jpg

 

hopes somebody can help

 

Thanks..

Share this post


Link to post
Share on other sites

Hi

This is only a guess but I think you cant have waitUntil inside a trigger ACT. And why would you have it there anyway?

 

Share this post


Link to post
Share on other sites
25 minutes ago, gc8 said:

Hi

This is only a guess but I think you cant have waitUntil inside a trigger ACT. And why would you have it there anyway?

 

So you mean all i need is this :   _video = ["video\Salutas_outro.ogv"] spawn BIS_fnc_playVideo;  ??

Share this post


Link to post
Share on other sites
34 minutes ago, Play3r said:

So you mean all i need is this :   _video = ["video\Salutas_outro.ogv"] spawn BIS_fnc_playVideo;  ??

 

yes if you do not have a reason to wait for the video to stop from playing.

Share this post


Link to post
Share on other sites

thanks for the info will give it at go.. and then return with the result..

 

Share this post


Link to post
Share on other sites
1 hour ago, gc8 said:

 

yes if you do not have a reason to wait for the video to stop from playing.

 

It was that, i removed the last sentence it works..

 

Thanks for the help gc8

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×