Does the issue occur in the editor or during gameplay?
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
Briefly describe the issue you're experiencing:
This is kind of two parts.
Part 1 (Bug Report)
When using show_inventory(party.member[])
, while it shows the items of a party member, the currency text at the bottom is still tied to the player
(confirmed by giving player and party member different amounts of money and when showing the member's inventory, it showed the player's currency instead).
Part 2 (Suggestion)
As a result of hitting this issue, I decided to try with a custom widget that was not hard coded to the player
entity, but found that self stat is not a viable option in the expression builder and if used, will simply return null
in game.
We can use self property or specific entity stats (entity stat, player stat, party member stat) but a self stat for those occassions where a widget will be dynamically associated to a varying entity for things like health and currency would be useful for assigable widgets.
Are there any errors in the in-game debug console or external console window?
Provide the steps necessary to reproduce the issue:
- quick play a game
- add a party member
- give them currency
- show their inventory
- it will say 0 (because the player has none)
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):