• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

A command that forcefully deposits your party to storage

Shou Liengod

Active Member
Trusted Support
as what the title says, In Gamemodes'
there should be a easier way to save your pokemon while in favor switching to another character with his/her own pokemon.

I tried to use storage but nowhere in the scripts within the files or in the wiki describes enough to how and if it even exists to do so.

this concept should fair well if when during any gamemode where you are playing as a different character at random. which saving your pokemon progress while using another set of Pokemon.
 

Fanta

Content Developer
P3D Developer
Global Moderator
as what the title says, In Gamemodes'
there should be a easier way to save your pokemon while in favor switching to another character with his/her own pokemon.

I tried to use storage but nowhere in the scripts within the files or in the wiki describes enough to how and if it even exists to do so.

this concept should fair well if when during any gamemode where you are playing as a different character at random. which saving your pokemon progress while using another set of Pokemon.
I'm not sure if this could help you, but maybe check the scripts of the battle frontier, I think the battle factory has similar results of what you are trying to do.
 

Shou Liengod

Active Member
Trusted Support
i seen them already before i posted this thread, but I ask a better description on how it works exactly.

and if possible for easier scripting sessions to forcefully store all pokemon to storage.
 
J

jianmingyong

Guest
I'm not sure if this could help you, but maybe check the scripts of the battle frontier, I think the battle factory has similar results of what you are trying to do.
Hmm... I was also thinking of that when I implemented a custom save and load feature but....

It is too tedious but I might still explore if I can store the entire party in the register and the able to restore back without losing a single poke.
 

Shou Liengod

Active Member
Trusted Support
Hmm... I was also thinking of that when I implemented a custom save and load feature but....

It is too tedious but I might still explore if I can store the entire party in the register and the able to restore back without losing a single poke.
as long it is stored in the storage after the command activates should be fine by itself.
to store back, a simple @screen.storagesystem would be a good work around for now until complicated scripts are needed such as instantly retrieving the pokemon back to party instead of the @screen.storagesystem
 

Darkfire

Administrator
Administrator
P3D Developer
battle frontier setup steps:
1) ask player to deposit all but one pokemon then open the storage system
2) if they comply begin the challenge else end the script
3) store the data string of the last remaining pokemon(<pokemon.data(0)>) and then clear the party using @pokemon.clear
4) after the challenge clear the rental pokemon and return the stored pokemon by using @Pokemon.Add(<stored_data)
 

Fanta

Content Developer
P3D Developer
Global Moderator
battle frontier setup steps:
1) ask player to deposit all but one pokemon then open the storage system
2) if they comply begin the challenge else end the script
3) store the data string of the last remaining pokemon(<pokemon.data(0)>) and then clear the party using @pokemon.clear
4) after the challenge clear the rental pokemon and return the stored pokemon by using @Pokemon.Add(<stored_data)
So, the question is, is it possible to store all 6 of your pokemon > clear > restore a different set of pokemon ...etc.
 
J

jianmingyong

Guest
So, the question is, is it possible to store all 6 of your pokemon > clear > restore a different set of pokemon ...etc.
I think it is possible but you might need two sets of storage or registers to store them in the background and later restore it back at any time you want.
 

Fanta

Content Developer
P3D Developer
Global Moderator
I think it is possible but you might need two sets of storage or registers to store them in the background and later restore it back at any time you want.
Wouldn't that solve the issue?, it's tedious, I know, but it works, doesn't it?
 

Shou Liengod

Active Member
Trusted Support
then my suggestion is this, a command that forcefully stores your party with just 1 command. without all the tedious business.
 

Darkfire

Administrator
Administrator
P3D Developer
I take the following suggestions out of this:
@pokemon.forcestore(int) - int: 0 < x < 6 where x any pokemon with an index >= x is stored in the first open slot in the PC(this would need to fail if the PC is full, defaults to 0
@screen.StorageSystem(bool) - bool: ensure party member; if false you can deposit until you have no pokemon, defaults to true if not added
 

Shou Liengod

Active Member
Trusted Support
I take the following suggestions out of this:
@pokemon.forcestore(int) - int: 0 < x < 6 where x any pokemon with an index >= x is stored in the first open slot in the PC(this would need to fail if the PC is full, defaults to 0
@screen.StorageSystem(bool) - bool: ensure party member; if false you can deposit until you have no pokemon, defaults to true if not added
sweet, everyone will be waiting for such a script to be added. should be easier this way then the tedious buisness.
RIP to those who struggled by these storage commands.
 

Darkfire

Administrator
Administrator
P3D Developer
hrm...other commands to consider:
@pokemon.forcedeposit(int) - int: party index of a pokemon
@pokemon.forcewithdraw(int) - withdraws the first "int" pokemon to the party(1-6 ofc)

also so this stuff can actually happen: @nilllzz
 

Shou Liengod

Active Member
Trusted Support
hrm...other commands to consider:
@pokemon.forcedeposit(int) - int: party index of a pokemon
@pokemon.forcewithdraw(int) - withdraws the first "int" pokemon to the party(1-6 ofc)

also so this stuff can actually happen: @nilllzz
by all means, use your magic and people will be happy. :3
 
Top