- Joined
- Oct 23, 2018
- Messages
- 5
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMMV
Hello,
This is my first post so I hope it will be helpful.
I'm hoping to make a battle plugin that permits a character to summon another character into a blank slot in the party. Imagine something to the effect of: Summoner Casts 'Goblin with Visible Nips' -> an empty slot in the party is filled with a character named Goblin with Visible Nips. There are other factors I want involved such as removing these summons at the end of battle but I'll cross the bridge later once this part works. Baby steps, you know?
Basically in very crude pseudocode I would figure it would play out something like this:
When summon spell is cast, check if party is full.
If Full- Spell fails.
If Not Full- Continue
Get level of summoner
Create character of appropriate type in first open slot, at level of summoner.
Now I would assume that based on what little I know, I'd have to create a character for each potential summon, with it's own growths and stuff, but is it possible to populate the party during battle through scripting? Is it possible to instantiate characters into the database on the fly like that (in case there's two slots open and say the summoner wants to summon two of the same thing). I'm assuming if there's a way to populate the database in script there would also be a way to depopulate it to avoid tons of junk characters clotting up the memory.
In terms of skill level I've only done some plugin tutorials but I have a background in other languages and a JS reference so I was hoping to use this as a learning experience.
Anyhow any help would be appreciated. I'm very new to programming RPGMMV. Than
This is my first post so I hope it will be helpful.
I'm hoping to make a battle plugin that permits a character to summon another character into a blank slot in the party. Imagine something to the effect of: Summoner Casts 'Goblin with Visible Nips' -> an empty slot in the party is filled with a character named Goblin with Visible Nips. There are other factors I want involved such as removing these summons at the end of battle but I'll cross the bridge later once this part works. Baby steps, you know?
Basically in very crude pseudocode I would figure it would play out something like this:
When summon spell is cast, check if party is full.
If Full- Spell fails.
If Not Full- Continue
Get level of summoner
Create character of appropriate type in first open slot, at level of summoner.
Now I would assume that based on what little I know, I'd have to create a character for each potential summon, with it's own growths and stuff, but is it possible to populate the party during battle through scripting? Is it possible to instantiate characters into the database on the fly like that (in case there's two slots open and say the summoner wants to summon two of the same thing). I'm assuming if there's a way to populate the database in script there would also be a way to depopulate it to avoid tons of junk characters clotting up the memory.
In terms of skill level I've only done some plugin tutorials but I have a background in other languages and a JS reference so I was hoping to use this as a learning experience.
Anyhow any help would be appreciated. I'm very new to programming RPGMMV. Than

