Hide the Inventory?

Dr.Froth
O.K. This question is similer to WW's. During a brief segment of my game I need the player inventory to become unuseable. (Regardless of what the player does or does not have). How do I code that?

Thanks,
Dr. Froth

GameBoy
you could move all the items to a container (room), until they are allowed to use their inventory again.

paul_one
What's the situation behind them being unable to use their items?

You might be able to do a "catch all" command, like:
command <#catch_me#>
And then partly parse it.

Arbutus
define procedure <hide inventory>
for each object in <inventory> {
conceal <#quest.thing#>
hide <#quest.thing#>
}
end define

define procedure <show inventory>
for each object in <inventory> {
reveal <#quest.thing#>
show <#quest.thing#>
}
end define


In QDK:

Script: Procedures: Add
(Enter Procedure Name)
Add Command: Game Control: Run a script for each object in a room
Room = inventory
Edit Script: Add Command: Objects: Make an object inaccessible
Object = #quest.thing#
Add Command: Objects: Hide an object
Object = #quest.thing#

Dr.Froth
:D Thanks Arbutus, that worked great. Everything is working according to plan...Bwhahahaha.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums