Is there any way to make events still obey region restrictions when they have 'Through' checked on? Alternatively is there a way to make the player able to pass through certain events without the player or the event being able to pass through impassable tiles? I do not want them set as above or...
I have tried this already and it did not work.
This is what I have written in the state's note box:
<Custom Apply Effect>
$gameVariables.setValue(4, $gameVariables.value(4) + 5);
$gameVariables.setValue(5, $gameVariables.value(5) + 10);
</Custom Apply Effect>
<Custom Remove Effect>...
Basically what I want to do is have variable X increase whenever State Y is applied and decrease when State Y is removed. I have tried using Yanfly's state core plugin but it doesn't seem to work, maybe because it doesn't happen in combat. Is there any other way to achieve this effect?
I edited the code as you said and it still will not work. I don't get any errors or anything, but the variable still doesn't update to the value of the events ID.
I have not tested this one but I don't think it will work for my needs if its able to trigger on every event on the map. Let me...
I'm trying to change the value of a variable to the events ID when the player is within range of it. This is what I have but it's not working.
var get_distance = [Math.abs($gamePlayer._x - this.eventId._x), Math.abs($gamePlayer._y - this.eventId._y)];
var target_distance = 100;
For this project I'm using the QABS plugin, but I don't think it's all that important to the problem.
Basically I'm trying to make a necromancer type class which uses minions in the form of events that follow the player. I'm having several problems making this happen with 2 major ones stopping...