MV Alpha ABS Z spawn enemy, location based on variables.

Hello everyone, so i'm currently using Kages Desua Alpha ABS Z


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

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/alpha-abs-z-spawn-enemy-location-based-on-variables.178930/