Is it possible to use expressions within comments ?
Because, in my project, I wish to use yanfly Minilabels to popup the players name above the events that represent them in other client's games. For this, the player sends its name to the server upon connection, and the server broadcast to everyone else "hey, spawn an event under the same ID(If doesn't exist already) as the new player, and set variable 100+PlayerID(So it won't impact other variables i'm using) to be its name". Then I need to, within a comment in that event, read the value of the variable 100+That event ID
I tried using the following, but didn't work:
<Mini Label: \V[${$gameVariables.value(100+this.eventId())}]>
(Usually ${Some variable, expression or whatever} within a string is transformed to be the value of that expression. Instead of a name, it displayed "${$gameVariables.value(100+this.eventId())}" ).
Anyone know if It is possible to execute an expression within a comment? And if yes, how to?
Because, in my project, I wish to use yanfly Minilabels to popup the players name above the events that represent them in other client's games. For this, the player sends its name to the server upon connection, and the server broadcast to everyone else "hey, spawn an event under the same ID(If doesn't exist already) as the new player, and set variable 100+PlayerID(So it won't impact other variables i'm using) to be its name". Then I need to, within a comment in that event, read the value of the variable 100+That event ID
I tried using the following, but didn't work:
<Mini Label: \V[${$gameVariables.value(100+this.eventId())}]>
(Usually ${Some variable, expression or whatever} within a string is transformed to be the value of that expression. Instead of a name, it displayed "${$gameVariables.value(100+this.eventId())}" ).
Anyone know if It is possible to execute an expression within a comment? And if yes, how to?