Hey 🙂 So I know I can use (this._eventId) to get the id of the current running event, but is there something similar to get the ids of all events in the current map so that I could affect them all at once to display an effect for example?
Is there anyway to set a % on 'add state x' action on YEPs action sequences?
Create a thread for that, unless you ask a JS syntax, it goes here.
Running the above code using an item that is set to target all allies still only seems to affect the actor that the code uses the item on.
As for that bit of code, I'm not actually quite sure. Besides modifying it so the item and actor ID's are determined by the value of a variable, I got this bit of code from the linked post.
This is probably really obvious but
Any given actor in a game I'm working on will wind up having eight skills total, and I'm looking for a way to make a variable for each of those skills to use in dialogue, choices, text, etc.
Specifically for the currently known skills.
Example, Character A knows skills 1, 2, 3, 4, 5, 6
var 1 should be 1
var 2 should be 2, etc
But if Character A instead knows skills 3, 4, 5, 6
var 1 should be 3
var 2 should be 4, etc
So how exactly would I got about getting, for example, the first known skill that actor 1 has.
I believe I have to do something with $gameActors.actor(1).skills()) but I'm not quite sure how to do it.
Thanks.
If I am understanding it correctly, if I have multiple instances of "<variable> *=", then as long as each instance of <variable> is a number, it will result with a multiplicative product of those numbers?
(e.g. three instances of <variable> has 0.9, so <variable> = 0.9 * 0.9 * 0.9 = 0.729)?