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
Script Fatal Error
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#6
RE: Script Fatal Error

what are the numbers???

it might be talking about this line


PlaySoundAtEntity("", "unlock_door", "door_1", 0, false);



asSoundName - internal name
asSoundFile - the sound to use + extension .snt
asEntity - the entity to create the sound at, can be “Player”
afFadeTime- time in seconds the sound needs to fade. Avoids enemies hearing the sound if afFadeTime is at least 0.1f
abSaveSound - if true, a looping sound will “remember” its playback state (currently playing/stopped), and that state will be restored the next time the level is entered. If true, the sound is never attached to the entity! Note that saving should only be used on looping sounds!



this PlaySoundAtEntity("", "unlock_door", "door_1", 0, false);
should turn into this
PlaySoundAtEntity("", "unlock_door.snt", "door_1", 0f, false);

(This post was last modified: 06-15-2013, 08:57 PM by 7heDubz.)
06-15-2013, 08:56 PM
Find


Messages In This Thread
Script Fatal Error - by SystemFail - 06-15-2013, 08:09 PM
RE: Script Fatal Error - by 7heDubz - 06-15-2013, 08:17 PM
RE: Script Fatal Error - by SystemFail - 06-15-2013, 08:39 PM
RE: Script Fatal Error - by 7heDubz - 06-15-2013, 08:42 PM
RE: Script Fatal Error - by SystemFail - 06-15-2013, 08:44 PM
RE: Script Fatal Error - by 7heDubz - 06-15-2013, 08:56 PM
RE: Script Fatal Error - by SystemFail - 06-15-2013, 09:05 PM
RE: Script Fatal Error - by 7heDubz - 06-15-2013, 09:20 PM
RE: Script Fatal Error - by SystemFail - 06-15-2013, 09:27 PM
RE: Script Fatal Error - by 7heDubz - 06-15-2013, 09:46 PM
RE: Script Fatal Error - by SystemFail - 06-15-2013, 09:56 PM
RE: Script Fatal Error - by 7heDubz - 06-15-2013, 10:11 PM
RE: Script Fatal Error - by SystemFail - 06-16-2013, 12:09 AM



Users browsing this thread: 1 Guest(s)