Hello everyone, so i'm currently using Kages Desua Alpha ABS Z
kdworkshop.net
And I'm using the plugin command to spawn enemies onto maps.
What I would like to know is how can I spawn a enemy based on variables? So Variable 1 for Y and Variable 2 for X.
The script call
"uAPI.spawnEnemy(1, 2, 3)"
allows me to spawn event 1, to X(2) and Y(3)
I would like to know of if any could make it so that X and Y is position is based on variables.
EDIT:
As with most things, I figure it out when I make a post asking for help.
In case in IF anyone needs this question answering its
uAPI.spawnEnemy(1, "X|V", "X|V")
"X" being the number of the value you would want to use and the order is X then Y.
uAPI.spawnEnemy(1, "22|V", "14|V")
So variable 22 will be the cords for X
and Variable 14 will be the cords for Y
Alpha ABS Z [MZ, MV] – KageDesu Workshop
And I'm using the plugin command to spawn enemies onto maps.
What I would like to know is how can I spawn a enemy based on variables? So Variable 1 for Y and Variable 2 for X.
The script call
"uAPI.spawnEnemy(1, 2, 3)"
allows me to spawn event 1, to X(2) and Y(3)
I would like to know of if any could make it so that X and Y is position is based on variables.
EDIT:
As with most things, I figure it out when I make a post asking for help.
In case in IF anyone needs this question answering its
uAPI.spawnEnemy(1, "X|V", "X|V")
"X" being the number of the value you would want to use and the order is X then Y.
uAPI.spawnEnemy(1, "22|V", "14|V")
So variable 22 will be the cords for X
and Variable 14 will be the cords for Y