DSB/Locking Flags

From DmWiki
Jump to navigationJump to search

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