Quick question: I know the code line "Screen->TriggerSecrets()" that triggers the screen secrets (e.g. secret combo flags 16-31), but is there a bool scripting function that returns true or false based on whether the secrets have been triggered?
Function to determine if secrets triggered
Started by
TLOZace5000
, Jun 05 2025 11:30 PM
1 reply to this topic
#1
Posted 05 June 2025 - 11:30 PM
#2
Posted 06 June 2025 - 12:40 AM
In 2.55 and beyond, there's "Screen->SecretsTriggered()" which will return true if any secret has triggered on the screen. In earlier versions, you can only check for permanent secrets with Screen->State[ST_SECRET] or by storing the ComboD[] at a position that you know will be a secret and wait for it to change.
- Alucard648 and Jambu like this
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users

