Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
InventoryCanvasObject.visible=false
InventoryBackgroundObject.visible=false
for each x in inventoryobject
x.visible=false
next
Mystery wrote:Hmmm, I'm wondering why that Action.HideInventoryButton command doesn't work... Is this a bug in the new beta version of AM, or a Windows 7 issue
Sub HideInventoryButton
InventoryCanvasObject.visible=false
InventoryBackgroundObject.visible=false
For Each x in inventoryobject
x.visible=false
Next
End Sub
Sub HideInventoryButton
InventoryCanvasObject.visible=false
InventoryBackgroundObject.visible=false
For Each x in InventoryItemObject
x.visible=false
Next
End Sub
Sub HideInventory
If inven = 0 then InventoryCanvasObject.visible=false
InventoryBackgroundObject.visible=false
For Each x in inventoryobject
x.visible=false
Next
End Sub
Sub ShowInventory
If inven = 1 then InventoryCanvasObject.visible=true
InventoryBackgroundObject.visible=true
For Each x in inventoryobject
x.visible=false
Next
End Sub
Error executing script.
The scripting message returned the following message.
Syntax error
Error executing script.
The scripting message returned the following message.
Object doesn't support this property or method.
InventoryCanvasObject.visible=false
InventoryBackgroundObject.visible=false
For Each x in inventoryobject
x.visible=false
Next
InventoryBackgroundObject.visible=true
For Each x in inventoryobject
x.visible=true
Next
Return to Adventure Maker Technical Support and Bug Reports
Users browsing this forum: No registered users and 0 guests