- place a hidden pressure plate (only triggered by party and set to "activate once")
- place a script item:
Code: Select all
function foundthesecret()
playSound("secret")
hudPrint("Secret Found")
end
I couldn't find any shortcut to this, no settings for the S "secret" item. I guess there needs to be flexibility, so manual it must be.
The sound and the hudPrint could be triggered by anything, but I'm just guessing that to have the secret properly accounted for in the game statistics, you must place the S and step in that square for the S to be counted.
(I also have noticed that functions can't have underscores _ in the name. I can't call it found_secret() for example)
Just:
- Place an S "secret" item
- place a hidden pressure plate (only triggered by party)
- connect the plate to the S with activate
The S will only activate once no matter how many times you step there. Activating the S is probably the only way to properly account for the secret being found