Frictional Games Forum (read-only)
Find key in this map, use it in the other. - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Find key in this map, use it in the other. (/thread-17686.html)



Find key in this map, use it in the other. - Melvin - 08-11-2012

For example, two maps:

LobbyRoom
DarkLobbyRoom

If I find a key in LobbyRoom, can I script it so I can use it in DarkLobbyRoom?


RE: Find key in this map, use it in the other. - Lizard - 08-11-2012

yes you can. You just add the script in the .hps file of DarkLobbyRoom


RE: Find key in this map, use it in the other. - Melvin - 08-11-2012

(08-11-2012, 10:13 PM)ZereboO Wrote: yes you can. You just add the script in the .hps file of DarkLobbyRoom
Thanks bro, so the game recognizes the key even if I picked it up from another room.


RE: Find key in this map, use it in the other. - Lizard - 08-12-2012

(08-11-2012, 11:20 PM)SmokeMelvin Wrote:
(08-11-2012, 10:13 PM)ZereboO Wrote: yes you can. You just add the script in the .hps file of DarkLobbyRoom
Thanks bro, so the game recognizes the key even if I picked it up from another room.
When you use a key on a door, what other item that you put in the script, it only checks for the name of the entities you put in the script.
Where you got the entity from, the game dosen't give a f*** about


RE: Find key in this map, use it in the other. - Melvin - 08-15-2012

(08-12-2012, 09:24 AM)ZereboO Wrote:
(08-11-2012, 11:20 PM)SmokeMelvin Wrote:
(08-11-2012, 10:13 PM)ZereboO Wrote: yes you can. You just add the script in the .hps file of DarkLobbyRoom
Thanks bro, so the game recognizes the key even if I picked it up from another room.
When you use a key on a door, what other item that you put in the script, it only checks for the name of the entities you put in the script.
Where you got the entity from, the game dosen't give a f*** about
You've made yourself clear Wink Thanks again.