Notice: fwrite(): Write of 59 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
Request! I really need help. Come to my rescue
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Request! I really need help. Come to my rescue

Started by Nitaraqt4life, December 02, 2007, 07:55:43 PM

0 Members and 2 Guests are viewing this topic.

Nitaraqt4life

Hello everyone. I'm new here but not to Rpg Maker Xp. You see, I've been making a game called Planet Protectors since last year June 18. Here's the problem. Just like in most games, like Final Fantasy 7, you get to pick which characters you want to be in your party. For example, I'll have Cloud, Tifa, and Yuffie. Then in the next scene, those are the characters that are there. How do I that in Xp, where the character you choose to have in your party to be present in the next scene. I'm using Blizzard Party switcher and Slipknots AMS. Please help.[/I  :( :o ??? ::) :P :lol: :'( :)
Spira

:)

you can add/drop party members via event commands.
Watch out for: HaloOfTheSun

modern algebra

Well, he's using a party switcher script. Anyway, do this:

Use four in-game variables, whatever IDs are free. For the purposes of this, I will let A, B, C, and D represent the four variables IDs you chose.

Name them Party Member 1, Party Member 2, Party Member 3, and Party Member 4

Then, use the Script event command and put in it:



actors = $game_party.actors
$game_variables[<A>] = actors[0].id if actors.size > 0
$game_variables[<B>] = actors[1].id if actors.size > 1
$game_variables[<C>] = actors[2].id if actors.size > 2
$game_variables[<D>] = actors[3].id if actors.size > 3



Then you can use conditional branches on Variables A, B, C, and D to discover which member is currently in the party.

Nitaraqt4life

#3
But I'm not really sure what to do with the conditional branch. And it says that theres a sytax error when I try to use the code you gave me. I have a total of 12 characters and I want to make a scene where only the four characters that the player choose to be in the party to appear in the scene.
Spira

modern algebra

Okay, well I made a demo. It will look awkward and the reason I did it the way I did was to show you use of conditional branches. There are other ways, some might even be more intuitive.

I didn't really pay attention to the Selection Event either.

Nitaraqt4life

Spira

:)

after you downloaded it, or the link does not work?

you need a .rar opener to open the file.
Watch out for: HaloOfTheSun

Nitaraqt4life

Spira