Hi Guys,
Had a good search on this but couldn't find anything.
I have a very small inventory window integrated into the UI. The window only holds 3 inventory items before the player has to 'page up and down' to scroll through.

While this works, it's not very well optimised.
1. up and down arrows are always on (even if not needed).
Ideally, each would only appear when scrolling up or down was actually available.
For instance. If the player has no inventory objects or 3 objects filling the inventory window, the arrows should not be visible at all.
Additionally, if the player is on the second inventory window, he should only be able to scroll back up to the initial window of 3.
Christ, I hope that makes sense
EDIT - I have found this post - http://www.adventuregamestudio.co.uk/forums/index.php?topic=16999.msg209564#msg209564
However i get the error message.
GlobalScript.asc(92): Error (line 92): undefined symbol 'GetButtonPic'
Had a good search on this but couldn't find anything.
I have a very small inventory window integrated into the UI. The window only holds 3 inventory items before the player has to 'page up and down' to scroll through.

While this works, it's not very well optimised.
1. up and down arrows are always on (even if not needed).
Ideally, each would only appear when scrolling up or down was actually available.
For instance. If the player has no inventory objects or 3 objects filling the inventory window, the arrows should not be visible at all.
Additionally, if the player is on the second inventory window, he should only be able to scroll back up to the initial window of 3.
Christ, I hope that makes sense

EDIT - I have found this post - http://www.adventuregamestudio.co.uk/forums/index.php?topic=16999.msg209564#msg209564
However i get the error message.
GlobalScript.asc(92): Error (line 92): undefined symbol 'GetButtonPic'