Started by Robotoo on Wed, 12/02/2020 - 08:58
Topic category: Help with MCreator software
im making a game with basically a custom energy type called cursed energy and basically i want to make it so that when you kill an ennemy that has a tag called curse then the cursedenergy tag will update by its original value + the ennemy's cursedenergyEXP / player's cursedenergy tag /2
its just a little formula for a level system probably not that good.
i put that in a global procedure with the trigger being entity dies and the if arguemnt being if target entity get iscurse tag == true.
i know this argument is getting passed because i tested it
i set it so that i have an overlay showing the cursedenergy tag on the screen but when i kill these ennemies nothing happens.
thanks for checking this out
Entity NBT tags are not synced to client side (GUI). Use player variables for this.
thanks a lot for this response
and how would i go about making a player variable doi need to use a local variable with a special procedure like when player joins world or is there just something im missing?
There is a zone in the workspace called variables where you can add global variables (the procedure ones are local, so they get destroyed each time the procedure ends)