Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collapse area not working?
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#4
RE: Collapse area not working?

here is an PlayMusic example:

PlayMusic("09_amb_safe.ogg", true, 1, 1, 1, true);


09_amb_safe.ogg is the music file to be played

the first true is if the file should loop (play it self again and again)

first "1" is the volume on the music (1 is standard)

second "1" is how many seconds it will take for the music to hit its the max volume

thirth "1" is the priority of the music. Note that only the music with the highest priority can be heard! 0 - lowest, 1 - higher, etc.

the last true means if i use stopmusic, and start the same music again later, it will continue playing where it got cut off.

PlayMusic if mostly used in OnEnter(), so that it plays everytime the player enters the map (background music/ambience in the map)

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 03-23-2013, 04:25 PM by Lizard.)
03-23-2013, 04:21 PM
Find


Messages In This Thread
Collapse area not working? - by KeysOfMyMind - 03-23-2013, 01:37 PM
RE: Collapse area not working? - by Lizard - 03-23-2013, 01:57 PM
RE: Collapse area not working? - by KeysOfMyMind - 03-23-2013, 04:08 PM
RE: Collapse area not working? - by Lizard - 03-23-2013, 04:21 PM
RE: Collapse area not working? - by KeysOfMyMind - 03-23-2013, 05:11 PM
RE: Collapse area not working? - by Lizard - 03-23-2013, 05:28 PM
RE: Collapse area not working? - by KeysOfMyMind - 03-23-2013, 07:42 PM
RE: Collapse area not working? - by NaxEla - 03-24-2013, 08:24 AM
RE: Collapse area not working? - by Lizard - 03-23-2013, 11:48 PM
RE: Collapse area not working? - by KeysOfMyMind - 03-24-2013, 10:48 AM
RE: Collapse area not working? - by KeysOfMyMind - 03-24-2013, 03:48 PM
RE: Collapse area not working? - by KeysOfMyMind - 03-24-2013, 05:03 PM



Users browsing this thread: 1 Guest(s)