Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Regular sound loop
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Regular sound loop (Read 710 times)
0 Members and 1 Guest are viewing this topic.
CiA Blaschoiw
Guest
Regular sound loop
«
on:
01 Nov 2002, 05:13:38 »
Hi !
I know i used this once but i forgot how to do it. How can I make a sound loop for 5 or more rounds. I know it is damn easy, but I have forgotten it
Already checked tutÂ's on that, but no trace.
Logged
Earl
Guest
Re:Regular sound loop
«
Reply #1 on:
01 Nov 2002, 15:37:34 »
Sure, here is a simple script call it whatever u want
_i = 0;
#loop
_i = _i + 1
playmusic "name of ur song"
~70 - the length of the song
? (_i <= 5): goto "end"
goto "loop"
#end
ForceEnd - or something like that
«
Last Edit: 01 Nov 2002, 15:40:24 by Earl
»
Logged
CiA Blaschoiw
Guest
Re:Regular sound loop
«
Reply #2 on:
04 Nov 2002, 05:00:50 »
hehe didnÂ't ask for music, but works fine with sounds also.
thx
Logged
Captain Winters
Guest
Re:Regular sound loop
«
Reply #3 on:
06 Nov 2002, 22:58:55 »
i use this one. seems a lot simpler!
#loop
playSound <sound title>
goto "loop"
it works too cuz ive used it b4
Logged
Navy_Seals
Guest
Re:Regular sound loop
«
Reply #4 on:
06 Nov 2002, 23:48:43 »
Sure Captain Winters, this will work as well, but it will be looping forever which i think u dont really want to, cheers
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Regular sound loop
Top of page