I was happy to see that conditional buttons got a new GetItemCount()
function, tried to implement it different ways, but failed at it.
So I went ahead and made a new project, I’ve set up 8 different conditional buttons with varying Allow Interaction
, Key Items Required
and Consume key items
parameters to test it but none of them work and apparently :
- The conditional buttons get activated but they won’t consume the key items
- The new
GetItemCount(Agent, 1)
function always returns 0, which is weird because it used to return -1 when I tried on my main island. - Also, calling
GetItemCount(Agent, 0)
returns 2147483647 which might be harmless if we consider that the indexes start at 1.
To sum it up, I’ve only been able to get all the other results except the good one.
NOTE: The conditional buttons work on my main island, so I’m only asking for how to make the GetItemCount() function to work actually, but all ideas are accepted.
Has anyone else managed to make it work ?