Hi there everyone. I am having a problem that concerns a critical component of gameplay of the map I'm developing. Posted this somewhere else, but I thought I should be clearer this time, and since it's urgent, here it is again.
So I have a 3 charge item where I consumed 2 through the trigger editor function provided. So all's left is 1 charge. What's stumping is when the 1 charge item is manually used, it resets to 3 and never goes down again.
What's most curious, is that a very similar item, does not have this problem at all. I even tried copying, renaming the item and the charge link, hoping to get the same results, but nay, the same fault reoccur. So my conclusion is that it has something to do with the changed charge link. I even tested retaining the same charge link for the duplicate item, still it kept resetting.
Of course, duplicate items of different sizes can be created and that'd solve the problem, but this game will have lot's of items, it'd be mind-boggling to create so many of the same sets of items just to work around this flaw.
I found the fix. If the item's charge max count is equal to its start count, then it will reset to its start/max count if you use the trigger to consume the charges. So it's a matter of changing the max/start to different values to each other.
So the next question is, is this a bug? Can someone confirm this?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi there everyone. I am having a problem that concerns a critical component of gameplay of the map I'm developing. Posted this somewhere else, but I thought I should be clearer this time, and since it's urgent, here it is again.
So I have a 3 charge item where I consumed 2 through the trigger editor function provided. So all's left is 1 charge. What's stumping is when the 1 charge item is manually used, it resets to 3 and never goes down again.
What's most curious, is that a very similar item, does not have this problem at all. I even tried copying, renaming the item and the charge link, hoping to get the same results, but nay, the same fault reoccur. So my conclusion is that it has something to do with the changed charge link. I even tested retaining the same charge link for the duplicate item, still it kept resetting.
Of course, duplicate items of different sizes can be created and that'd solve the problem, but this game will have lot's of items, it'd be mind-boggling to create so many of the same sets of items just to work around this flaw.
So my question is how to fix it?
I found the fix. If the item's charge max count is equal to its start count, then it will reset to its start/max count if you use the trigger to consume the charges. So it's a matter of changing the max/start to different values to each other.
So the next question is, is this a bug? Can someone confirm this?