RPG Maker Forums

Just to be clear XAS is an ABS(Action Battle System).

While coming up with new and interesting things to do with XAS and to further enhance the kind of skills I can come up with I came up with the idea of moving a the Skill event that spawns on the map, from a script call in the event. In my example I move it directly onto an enemy.

evid = $game_map.scan_nearest.to_i #This looks for the event with a specific tag closest to the player

locx = $game_map.events[evid].x #gets the x

locy = $game_map.events[evid].y #gets the y

$game_map.events[@event_id].moveto(locx,locy) #Moves THIS event to locx and locy

Which works wonderful. BUT it made me realize that the Area feature of XAS. (Check images and text here to understand fully what it is http://www.atelier-rgss.com/XAS/Web_Material/Manual2_Tool.html) centers the Area around the player not the event getting spawned in. In effect what this means is that the skill will be placed correctly but the Area does not. 

I've stared at the XAS scripts for hours, what I've found thus far have not really been very helpful. At the moment I'm trying to add another Area type that will center around the Skill instead of the player. 
Here is the main XAS script:
(Searching for Area or SQUARE should take you to what I believe are the relevant parts of the script).
http://pastebin.com/ACZe1XrS

Could anyone help me out?
Thank in advanced, you are awesome!!!
 

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top