(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")