Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm trying to use the note tags but its not working. I tried using the ChargeTpByDamageFormula but it doesn't work and the formula doesn't go there. I looked at the help sheet, but it doesn't say what note tags to use for the Charge Tp By Action Formula are.

I'm also trying to change the default start TP to equal the actors current level but whenever I try to do it, the game crashes. I think I'm just using the wrong code. I try to use this but all I get in return is "id undefined."

1 * $gameActors.actor(id).level

(1 edit)

Hi there!

Formula

You need to show me what you did with the ChargeTpByDamageFormula note tag. Because indeed you can't write code on that note tag. The right thing to do is to write the formula on the plugin parameters, and set the Charge Tp By Damage to true:

Then, reference that formula on the note tag by it's ID:


As so, if that still does not work, I need for you to send me a screenshot of what you did so i can see what is wrong. Always nice to test on a clean project or on my sample project to see if the problem is a plugin conflict.

Start Tp

1 * $gameActors.actor(id).level

Yes, ID is undefined by default, unless you define it on the formula you are using.

If you want for all actors to follow the level rule, you can just use the plugin parameter "Default Start Tp" on the Actor section. And you can just put there:

this.level * 1

The this keyword will point to the actor who is using that formula, on your case all of them.

But, if you want that formula for specific actors, just use the same formula on the note tag field of the actor:

<StartTp: this.level * 1>

Let me know the results!

The TP equals level thing worked but here are the images of my plugin settings.