Difference between revisions of "DSB/Locking Flags"
From DmWiki
Jump to navigationJump to search (Created page with "; 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 ; ...") |
|||
Line 1: | Line 1: | ||
+ | To lock multiple aspects just put them together with a '+'. Such as, to lock both movement and actuators use: | ||
+ | |||
+ | <code> | ||
+ | dsb_lock_game(LOCK_MOVEMENT + LOCK_ACTUATORS) | ||
+ | </code> | ||
+ | |||
+ | |||
; LOCK_ACTUATORS : Triggers will not work | ; LOCK_ACTUATORS : Triggers will not work | ||
; LOCK_MOVEMENT : Party cannot move | ; LOCK_MOVEMENT : Party cannot move |
Revision as of 07:09, 21 April 2011
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