DSB/Locking Flags
From DmWiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
To lock multiple aspects just put them together with a '+'. Such as, to lock both movement and actuators use:
dsb_lock_game(LOCK_MOVEMENT + LOCK_ACTUATORS)
- LOCK_ACTUATORS
- Triggers will not work
- LOCK_MOVEMENT
- Party cannot move
- LOCK_MOUSE
- Mouse clicks will not work at all
- LOCK_MAGIC
- Cannot enter runes or cast spells
- LOCK_INVENTORY
- Cannot view inventories
- LOCK_ATTACK
- Cannot trigger attack methods
- LOCK_FLYERS
- Flying objects will not update
- LOCK_CONDITIONS
- Timed conditions will not update
- LOCK_MESSAGES
- Message timers will not run
- LOCK_ALL_TIMERS
- No game timers will run at all