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
) »
Looping A song
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Looping A song (Read 686 times)
0 Members and 1 Guest are viewing this topic.
armymanbronson
Guest
Looping A song
«
on:
13 Nov 2002, 13:50:18 »
hey guys, i was wondering what do i put in a script or trigger to make a song continues;y play over and over?. cant work it out.
cheers
bronson
Logged
Navy_Seals
Guest
Re:Looping A song
«
Reply #1 on:
13 Nov 2002, 18:13:49 »
;small script for looping music or sound
_i = 0;
#loop
_i = _i + 1
playmusic "name of ur song"
~70 - the length of the song
? (_i <= 5): goto "end" <- change 5 to any number of times u want the song to loop
goto "loop"
#end
ForceEnd
exit
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
) »
Looping A song
Top of page