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!
Cocomunches Offline
Junior Member

Posts: 36
Threads: 6
Joined: Apr 2012
Reputation: 1
#24
RE: Enemy Patroling and Disapearing: Help!

(04-27-2012, 09:24 PM)TeamSD Wrote: 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.

'Nother nooby question is how would I put these into the .hps?

like, if you can show an example.
04-28-2012, 02:06 AM
Find


Messages In This Thread
RE: Enemy Patroling and Disapearing: Help! - by Cocomunches - 04-28-2012, 02:06 AM



Users browsing this thread: 4 Guest(s)