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
GetEntityExists
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#9
RE: GetEntityExists

i dont know, i didnt mean to confuse you, but i think that the description in the wiki has a typo, because from experience if i used stopmusic(0.5f , 256); // 256 or higher
it would stop the monster music, and in game if you tick show sounds playing it tells you the music priority for a monster sound is 256. so i assumed it was an error on the wiki, someone can correct me if im wrong though...

Edit: i just tested it, and couldn't get the music to stop with a priority of 255, 256 or 257. Its probably coded into the game in a way that the script can't stop the music no matter what. For my above comment saying i got it to work, i think i actually did something different, i was using PlayMusic with a priority higher than 256 to 'overwrite' the monster music, this works - i tested it.

Another edit: I am now also confused. it seems that if i use StopMusic(1.0f , x); (where x is any number) the Monster music doesn't stop,
but if i use PlayMusic("04_amb.ogg" , false , 1.0f , 1.0f , x , true); (where x is again anything)
The music has higher priority than the monster music, and plays over it, with no relavance to the int prio. Maybe this is just happening because we are trying to stop music which isn't activated by our script, it is activated by the entity itself.

(This post was last modified: 08-02-2011, 03:04 PM by DRedshot.)
08-02-2011, 02:44 PM
Find


Messages In This Thread
GetEntityExists - by MrCookieh - 08-02-2011, 11:57 AM
RE: GetEntityExists - by Kyle - 08-02-2011, 01:00 PM
RE: GetEntityExists - by MrCookieh - 08-02-2011, 01:14 PM
RE: GetEntityExists - by Your Computer - 08-02-2011, 01:28 PM
RE: GetEntityExists - by Kyle - 08-02-2011, 01:30 PM
RE: GetEntityExists - by MrCookieh - 08-02-2011, 02:21 PM
RE: GetEntityExists - by DRedshot - 08-02-2011, 02:34 PM
RE: GetEntityExists - by MrCookieh - 08-02-2011, 02:39 PM
RE: GetEntityExists - by DRedshot - 08-02-2011, 02:44 PM



Users browsing this thread: 1 Guest(s)