Jump to content
Sign in to follow this  
Double Doppler

Looping music via trigger

Recommended Posts

Hello, I am trying to get custom ogg music to play looped by a trigger, preferably using the "say" command.

I am having a lot of trouble doing this, I have searched the forums for a similar topic, and have come across them. However I think I am doing the same thing as the instructions on the topic, it does not seem to work for me (maybe I am overlooking something?)

Anyway, in the trigger I have entered in the Condition:

this={execVM"marwan.sqf"};

if {true} then {execVM"marwan.sqf"};

And in "marwan.sqf" I have entered:

while {true} do {

say "marwan"; sleep 56;

};

But when I load, it shows in showscripterrors

Error Missing ;

while {true} do {

say [#] "marwan"; sleep 56;

};

It does not seem to understand the "say" command.

This is confusing, can anyone help me out?

Edited by Double Doppler

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
Sign in to follow this  

×