Frictional Games Forum (read-only)
how to make a message appear when i interact with a door - 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: how to make a message appear when i interact with a door (/thread-12993.html)



how to make a message appear when i interact with a door - Death Icarus - 01-31-2012

i have a door that's blocked on the other side, and i want it display a message the first time you try to open it.
and a door that's locked, and need a message there too.

i know how to make messages, just need to know how to make them show up when i try to open said door.


RE: how to make a message appear when i interact with a door - SilentStriker - 01-31-2012

(01-31-2012, 04:17 PM)Death Icarus Wrote: i have a door that's blocked on the other side, and i want it display a message the first time you try to open it.
and a door that's locked, and need a message there too.

i know how to make messages, just need to know how to make them show up when i try to open said door.
You use:

SetEntityPlayerInteractCallback(string& asName, string& asCallback, bool abRemoveOnInteraction);




RE: how to make a message appear when i interact with a door - Xeronaile - 02-01-2012

To make a message appear when you stand in front of the door or when you interact with it?