I want to add the "secret found" sound to my "secret found" text pop up. I tried making a sound on the map and having the trigger activate it, but the game wen't tits up when I did.
How do I add the sound to my trigger? Thanks

yesMoreDread wrote:can traits be added/removed?
Just place a floor_trigger where you want a secret to activate, then place the asset 'Secret' somewhere and connect the trigger to it. Be sure to check disable_self.[SMUG]Ipecac wrote:Hello again guys,
I want to add the "secret found" sound to my "secret found" text pop up. I tried making a sound on the map and having the trigger activate it, but the game wen't tits up when I did.
How do I add the sound to my trigger? Thanks
Be sure to add weight or you'll crash the game if you throw an item that's supposed to interact with gravity.SnowyOwl47 wrote:JohnWordsworth wrote:Having said that, the following will clone the "Tome of Wisdom" with a new title and description!
Code: Select all
defineObject{ name = "jw_tome_of_wisdom", baseObject = "tome_wisdom", components = { { class = "Item", uiName = "Boo Yah!", gfxIndex = 30, description = "A mysterious tome that will give you a skill point!", } }, }
Code: Select all
defineObject{
name = "jw_tome_of_wisdom",
baseObject = "tome_wisdom",
components = {
{
class = "Item",
uiName = "Boo Yah!",
gfxIndex = 30,
weight = 1.0,
description = "A mysterious tome that will give you a skill point!"
}
}
}