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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script error (Again)
Hypercube Offline
Member

Posts: 124
Threads: 20
Joined: Sep 2015
Reputation: 1
#9
RE: Script error (Again)

(07-08-2016, 05:20 PM)Abion47 Wrote: You don't need to add the file extension, but it's still a good thing to do for organizational purposes. ("music" isn't very descriptive, but "music.ogg" says exactly what the file is). Also, the parameter is a float, but the compiler is smart enough that if you five it an int it will convert it to a float automatically. Your point about the eMusicPrio is correct, though if Venom Fox wants the music to have a priority of 2, then the equivalent enum value is eMusicPrio_MinorEvent. (Of course, eMusicPrio_MinorEvent is meant for just that... minor events. That priority level shouldn't be used on just background music. I'd recommend using eMusicPrio_SceneAmb, since it sounds like you are trying to play this music in a certain area of your map.)

I wasn't saying that Venom should use eMusicPrio_BgAmb but it was an example because that's what I had used for the moment. Interesting though, I didn't realize the compiler automatically converted it into a float. I thought I remember it just not working, is it okay to leave it at one or should you include the decimal point? I remember encountering issues with this before
07-08-2016, 05:29 PM
Find


Messages In This Thread
Script error (Again) - by Venom Fox - 07-08-2016, 11:48 AM
RE: Script error (Again) - by Romulator - 07-08-2016, 01:36 PM
RE: Script error (Again) - by Venom Fox - 07-08-2016, 02:40 PM
RE: Script error (Again) - by Hypercube - 07-08-2016, 04:28 PM
RE: Script error (Again) - by Venom Fox - 07-08-2016, 04:42 PM
RE: Script error (Again) - by Abion47 - 07-08-2016, 05:20 PM
RE: Script error (Again) - by Hypercube - 07-08-2016, 05:29 PM
RE: Script error (Again) - by Abion47 - 07-08-2016, 05:43 PM
RE: Script error (Again) - by Venom Fox - 07-08-2016, 06:36 PM
RE: Script error (Again) - by Hypercube - 07-08-2016, 04:59 PM
RE: Script error (Again) - by Venom Fox - 07-08-2016, 05:27 PM
RE: Script error (Again) - by Venom Fox - 07-08-2016, 05:33 PM
RE: Script error (Again) - by Hypercube - 07-08-2016, 06:37 PM
RE: Script error (Again) - by Venom Fox - 07-08-2016, 06:53 PM
RE: Script error (Again) - by Abion47 - 07-08-2016, 06:58 PM
RE: Script error (Again) - by Venom Fox - 07-08-2016, 07:07 PM
RE: Script error (Again) - by Daemian - 07-08-2016, 10:58 PM
RE: Script error (Again) - by Venom Fox - 07-09-2016, 03:11 PM
RE: Script error (Again) - by Hypercube - 07-09-2016, 07:36 PM
RE: Script error (Again) - by Venom Fox - 07-09-2016, 08:32 PM
RE: Script error (Again) - by Venom Fox - 07-10-2016, 11:54 AM
RE: Script error (Again) - by Venom Fox - 07-10-2016, 01:57 PM



Users browsing this thread: 1 Guest(s)