Make floaty text or speech on objects and doors

For Objects
you would place this script in the OnUsed handle. Remove the parts (or comment out) you don't want to use.

void main {   object oPC = GetLastUsedBy; // For Floaty Text FloatingTextStringOnCreature("Your Message",oPC); // For Speaking a string, Text is displayed for one Hartbeat. SpeakString("Your Message"); // For a Privet message SendMessageToPC(oPC,"Your Message"); }

For Doors
you can place it in the OnUsed, but useually doors that say something usually is because it is locked. In that case you would need to place this script in the OnFailed to open. Same as above but oPC is now GetClickingObject

void main {   object oPC = GetClickingObject; // For Floaty Text FloatingTextStringOnCreature("Your Message",oPC); // For Speaking a string, Text is displayed for one Hartbeat. SpeakString("Your Message"); // For a Privet message SendMessageToPC(oPC,"Your Message"); // To start a Conversation ActionStartConversation(oPC); }