Started by
electrovoyage.
on
Topic category: Help with MCreator software
Hello, i am making a bank mod and i would like to make a procedure which gets a PLAYER_LIFETIME variable of the player whose name was entered:
However, text (string) modules can't be attached into entity slots, and custom code snippets (just like manually modifying the procedure code) throw a compilation error:
I really can't find a way to get around this, is there a way? If so, I would love if you could explain.
Oh im sorry i didnt know printscreen wont work lemme make new photos
https://sta.sh/01svx7bzb2g5
Procedure overview
https://sta.sh/02d5maxlkvkv
Build error
PLEASE HELP I LITERALLY TRIED EVERYTHING I COULD EVEN CODE MODIFICATION BUT IT THROWS MORE ERRORS HELP
nvm found a way
Greetings, there is a link to my discord channel in my mod, please come in, I will try to help you there, screenshots are not loaded
How did you fix this??????
hello
So basically, use the "For all players in the current world as [entity iterator] do", then into it add "if (get display name of (entity iterator) = abcedfg do" and then "Set text in textfield abcdefg (get variable (global: abcdefg) of player: (entity iterator)"
The variable should be of type "Player_Persistent" or "Player_Lifetime"