That's actually a really good idea...Damonya wrote:Ok I tested and it's fine. Very easy in fact.
- Create a counter (Initial value = 0)
- Connect all your pressure_plate_hidden to their S secret and to this counter. Check "Activate once" otherwise the counter increment several times.
- Calcul the number of all your secret. Example 10.
- Create a pressure_plate_hidden at the end of your level (or what you want) and connect to a script with this function :
Code: Select all
function CounterSecret() local number = counter:getValue() hudPrint(number.. " secrets to 10 found") end
Edit: The fact that this began the second page is awkward and I'm sorry for that. Quoted the post I'm talking about for clarity.