Difference between revisions of "Pickable Locks, or how to unlock doors without the right key"
From ADRIFT 5 Manual Wiki
RenatoDias (Talk | contribs) (Unlock doors without the right key) |
(No difference)
|
Revision as of 02:08, 22 June 2019
Remember in Resident Evil when there were doors that you had to use a lockpick? It's easy to do that in ADRIFT. Here I'll teach you how: First, make a object that can be opened/closed, then, mark the option "It's lockable with key", select whatever object you want for the key. Then, add a task named LockPicking and on the command, put: [pick] %object% [lock]. Add a property named Lock is Pickable, state list, states: Yes/No. Then, go back to the object and set the created property to Yes. Go to the actions tab in the LockPicking task and add a action to change the property of the openable object to open. Now you have a pickable lock object.