Hide the Inventory?
Dr.Froth
19 Sept 2006, 23:37O.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
Thanks,
Dr. Froth
GameBoy
20 Sept 2006, 03:19you could move all the items to a container (room), until they are allowed to use their inventory again.
paul_one
20 Sept 2006, 10:50What'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.
You might be able to do a "catch all" command, like:
command <#catch_me#>
And then partly parse it.
Arbutus
20 Sept 2006, 18:47define 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
20 Oct 2006, 04:20