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
Need help with script
afroduckie Offline
Junior Member

Posts: 35
Threads: 12
Joined: Jan 2013
Reputation: 0
#9
RE: Need help with script

(01-30-2013, 03:49 PM)No Author Wrote:
(01-30-2013, 01:56 PM)afroduckie Wrote: This is all I had so far:

{
AddEffectVoice(string(& voice01.ogg)), string& asEffectFile, string& caption, string& voice01, bool abUsePosition, string& intro_note, float afMinDistance, float afMaxDistance);
}

I didnt know what lang category it needed, so I went to look it up. Apparently the error is before that though...

Is that your full script ?

That is just the part that didnt work right. Im gonna pull a script from the original game and rename everything... see if that works

Okay, this script works:

{
AddEffectVoice("voice01", "", "Voice", "invoice", false, "intro_note", 0, 0);

}

It just played it as soon as I spawned.
But how do I make it play AFTER reading the note?
(This post was last modified: 01-30-2013, 11:49 PM by afroduckie.)
01-30-2013, 11:05 PM
Find


Messages In This Thread
Need help with script - by afroduckie - 01-28-2013, 11:29 PM
RE: Need help with script - by i3670 - 01-28-2013, 11:50 PM
RE: Need help with script - by NaxEla - 01-29-2013, 01:25 AM
RE: Need help with script - by afroduckie - 01-29-2013, 01:50 AM
RE: Need help with script - by Your Computer - 01-29-2013, 07:37 AM
RE: Need help with script - by No Author - 01-29-2013, 09:43 AM
RE: Need help with script - by afroduckie - 01-30-2013, 01:56 PM
RE: Need help with script - by No Author - 01-30-2013, 03:49 PM
RE: Need help with script - by afroduckie - 01-30-2013, 11:05 PM
RE: Need help with script - by i3670 - 01-31-2013, 01:26 AM
RE: Need help with script - by afroduckie - 01-31-2013, 03:14 AM
RE: Need help with script - by FlawlessHappiness - 01-31-2013, 06:53 AM
RE: Need help with script - by afroduckie - 01-31-2013, 11:00 PM



Users browsing this thread: 1 Guest(s)