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
#11
RE: Need help with script

(01-31-2013, 01:26 AM)i3670 Wrote: Under the "Entity" tab when you click on the note in the leveleditor there is box named PlayerInteractCallback. Type in the name of a callback, can be anything.

Then go to your script and type in:

void NAMEOFCALLBACK(string &in asEntity)
{
AddEffectVoice("voice01", "", "Voice", "invoice", false, "intro_note", 0, 0);
}

It kept coming to a FATAL ERROR screen. ERR @ (9, 16)
9 16 is the (string& asEntity) part. It said EXPECTED DATA TYPE.
I filled it in with the entity name ("intro_note")
01-31-2013, 03:14 AM
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)