Welcome to the Game Creator support forum!
This a place to ask questions, discuss ideas and report bugs. Please, provide your Unity and Game Creator versions as well as clear reproduction steps when opening a topic and full console logs.
After killing a zombie, any further zombies that spawn will spawn in with 0 health.
The Actions I'm using for decreasing health:
This is probably because the Stats automatically saves the state of the prefab of ZombieFemale when it is destroyed. Instantiating new ones reloads the previous state, which was 0 at the moment, because all prefabs and prefab instances share the same ID.
We'll be adding a "Save" checkbox under the Stats component on the next update that you should untick. This will disable saving and loading the previous State values.
i just updated the stats to the newest version. after doing so, i had to go through and fix a few things..
i have an HP UI and when the stats value HP goes down, i can see the change in the player component, but the Attribute UI is not updating.
here is example of the UI component
Here is an example of the Stats component (in process)
Aha! Sorry I didn't see this in the first message you posted. In the Attribute UI component, you have the Smooth Transition Up and Smooth Transition down properties set to true. This means that Game Creator will try to progressively move the health bar from its current value to the next.
However, you have also a Transition Delay of 0.2. This means that the bar won't change until there's a window of 0.2 seconds where the attribute hasn't changed its values.
You can set the Transition Delay to 0.0 or uncheck the Smooth Transition Up/Down properties and it should work fine.
What is the best way to limit the number of inventory slots based on a Stat like "bagslots" that will be increased and decreased by equipped items?
I already have the stat in place and equipping/removing the item changes the stat. What would be the best place to implement something that limits the maximum number of item slots they have based on that stat? For instance if the stat is 10, they can only pickup 10 items.
For simplicity I would just not allow them to remove the item that changes the stat so I don't have to deal with forcing them to drop items etc. Maybe not even let them unequip it.
I'm afraid that's not possible at the moment. The amount of a stack of items in your inventory is a constant value.
Customer support service by UserEcho