![]() |
Need help with script - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Need help with script (/thread-20096.html) Pages:
1
2
|
RE: Need help with script - afroduckie - 01-31-2013 (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. 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") RE: Need help with script - FlawlessHappiness - 01-31-2013 You're not supposed to put "intro_note" in the parameters. (string &in asEntity) this must stay what it is right now, because right now it tells the game that if you interact with something that calls the name of the function, then it will trigger. Anything else (Collide, checkpoint, etc.) will not work. RE: Need help with script - afroduckie - 01-31-2013 (01-31-2013, 06:53 AM)BeeKayK Wrote: You're not supposed to put "intro_note" in the parameters. Thanks It worked ![]() |