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


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Enemy Patroling and Disapearing: Help!
TeamSD Offline
Member

Posts: 51
Threads: 3
Joined: Apr 2012
Reputation: 2
#23
RE: Enemy Patroling and Disapearing: Help!

Im glad it worked. Do not feel stupid. You have no idea how many times i've done similar grammar errors. They are hard to spot because they don't cause the game to crash. Nothing just happens and it is pain in the ass.


Here is a copypaste from engine scripts page for the music:

void PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);

Plays music.

asMusicFile - the music to play + extension .ogg

abLoop - determines whether a music track should loop

afVolume - volume of the music

afFadeTime - time in seconds until music reaches full volume

alPrio - priority of the music. Note that only the music with the highest priority can be heard! 0 - highest, 1 - lower, etc

If you need more help just say so.



(This post was last modified: 04-27-2012, 09:24 PM by TeamSD.)
04-27-2012, 09:24 PM
Find


Messages In This Thread
RE: Enemy Patroling and Disapearing: Help! - by TeamSD - 04-27-2012, 09:24 PM



Users browsing this thread: 1 Guest(s)