![]() |
[NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object. - 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: [NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object. (/thread-15023.html) |
[NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object. - GillFrog - 04-23-2012 So, here's what i want to do; When i grab an object, i want a message to pop up. I tried it, but it doesn't show up. I really don't know what's the problem. ![]() Lang: Quote:MessageScript: Quote:void OnStart() RE: [NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object. - Datguy5 - 04-23-2012 Wrong syntax use this instead: void func_stephano(string &in asChild, string &in asParent, int alState) RE: [NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object. - GillFrog - 04-23-2012 (04-23-2012, 03:22 PM)Datguy5 Wrote: Wrong syntax use this instead: void func_stephano(string &in asChild, string &in asParent, int alState)THANK YOU! ![]() RE: [NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object. - Datguy5 - 04-23-2012 Np ![]() RE: [NEEDZ HELP] Displaying a simple message when grabbing/interacting with an object. - Stepper321 - 04-23-2012 ![]() Hey wait, your doing it wrong, the EntityCollideCallback function is for touching it! Go into the Entities tab of the 'Stephano' entity, And Playerinteractcallback you put func_stephano then edit it to this: void func_stephano(string &in Entity) |