Hello @Felski !
I was trying to make a node that increases the Actor's Max TP since in my project I change TP into a Stamina system.
I tried to put $gameActors.actor(0001).gainTp(5) in the 'Run Custom Javascript Code' section but when I activate the node I get an error message :
View attachment 182998
I tried to do the same on a new project but the issue comes anyway. I'm not good at Javascript so maybe I'm doing something wrong ?
I was trying to make a node that increases the Actor's Max TP since in my project I change TP into a Stamina system.
I tried to put $gameActors.actor(0001).gainTp(5) in the 'Run Custom Javascript Code' section but when I activate the node I get an error message :
View attachment 182998
I tried to do the same on a new project but the issue comes anyway. I'm not good at Javascript so maybe I'm doing something wrong ?
$gameActors(1)