Rekkid

Villager
Member
Joined
Jan 3, 2014
Messages
14
Reaction score
0
First Language
English
Primarily Uses
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 my progress.

First problem: This plugin allows the player to use skills at the location of the mouse pointer. I want to make a skill which "summons" an event (aka minion) at the mouse pointer location when used (if this is impossible, a static location near the player will do as well). It will also need to be usable on any map in the game and persist through map changes so you won't have to "resummon" them after walking through a door.

Second problem: Once summoned I want the events (minions) to follow the player unless there is an "enemy" event nearby in which case I want to to walk towards the event and use a skill on it. This would be easy if it was only a single static event (enemy) in the game, as I could use the following script in the move route:
this.moveStraight(this.findDirectionTo($gameMap.event(x).x, $gameMap.event(x).y));
(well this doesn't exactly work because the events are solid objects and can never occupy the same tile, instead I need something to get them within 1 tile of each other so they are close enough to use a skill on each other)
but that won't do as it will need to work on a variety of events (enemies) and maps in the game.

If anyone is able to solve or at least point me in the right direction towards solving either of these problems it would be greatly appreciated.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,883
Reaction score
14,710
First Language
English
Primarily Uses
RMVXA
QABS or any ABS is very important to the solution as they rewrite so much of the core functions of the engine. This will probably take javascript to pull off for that reason.

Moved to JavaScript Support

 

Rekkid

Villager
Member
Joined
Jan 3, 2014
Messages
14
Reaction score
0
First Language
English
Primarily Uses
QABS or any ABS is very important to the solution as they rewrite so much of the core functions of the engine. This will probably take javascript to pull off for that reason.

While this may be true, I was able to pull off the movement with basic script commands on a static event, but not on a variable event, which is what led me to believe in my previous statement.
 

Latest Threads

Latest Posts

Latest Profile Posts

Currently working on a playlist of songs that have inspired my work on revamping Battle Castle, and making sure they flow decently from one to the next. I will be posting it whenever I upload my next demo.
This is the first song in the playlist.
Artists out there, is there something RPG maker related you wish your graphics software had but doesn't? (Something like automatically transform a wall tile into a cylindrical tower). I want to give a boost to WecTools, but I'm dry of ideas right now...
having anxiety during all this virus stuff is the absolute worst. I'm the only one missing out on my friend's wedding in Sept. because I can't be in large groups of people anymore due to anxiety.

Forum statistics

Threads
113,908
Messages
1,078,343
Members
148,013
Latest member
HardyCynthia
Top