![]() |
[SCRIPT] Let a note starting music [Solved] - 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: [SCRIPT] Let a note starting music [Solved] (/thread-25146.html) Pages:
1
2
|
RE: Let a note starting music - DnALANGE - 04-25-2014 SetEntityPlayerInteractCallback("ITEMNAME HERE", "prestige1", true); RE: Let a note starting music - ShipinShen - 04-25-2014 (04-24-2014, 12:22 AM)Mudbill Wrote: You do not modify the parameters in a constructor. Leave those as they are and only modify the calls to the different functions within your block. So i tried this Quote:void prestige1(string &in asEntity, string &in Type) The error disappeared but nothing happens when i'm picking up the note.. the script should know that the note is meaned, because the callbackfunc in the editor is named as "prestige" RE: Let a note starting music - Mudbill - 04-25-2014 Your block is called prestige1 while your callback tells it to use prestige. Change one of them so they match. Just rename your block to prestige instead of prestige1. RE: Let a note starting music - ShipinShen - 04-25-2014 (04-25-2014, 08:15 PM)Mudbill Wrote: Your block is called prestige1 while your callback tells it to use prestige. Change one of them so they match. Just rename your block to prestige instead of prestige1. Ahh what a careless mistake :p thanks it's working ![]() But i can still add a narration to it, right ? RE: Let a note starting music [Solved] - DnALANGE - 04-25-2014 For notes , no. for journal yes. sry for short awnser here,, on tab atm. RE: Let a note starting music [Solved] - ShipinShen - 04-25-2014 (04-25-2014, 10:55 PM)DnALANGE Wrote: For notes , no. But mudbill has a tutorial where he adds a narration to a note :o RE: Let a note starting music [Solved] - Mudbill - 04-26-2014 Both notes and diaries can have narration. Just add the [voice filename.ogg] before the text in your lang entry. RE: Let a note starting music [Solved] - DnALANGE - 04-26-2014 Ohh okay.. Thanks Mud.. didnt know this really.. Never tried it but seen on this forum that sorta it wasnt able.. i Always had the thoughts like.. WHY NOT NOTES?? Clearified ![]() |