Makin' a bank

Started by Alton Wyte, February 14, 2010, 04:25:26 pm

Previous topic - Next topic

Alton Wyte

I know there's already systems for this, but I decided I wanted to do it completely on my own, so I haven't looked at a system, and I'm not going to say to much, but how would I store a player's name as a variable, for bank account names?

Hellfire Dragon

Couldn't you just use \n[ACTOR_ID]?

Alton Wyte

No, I'm needing to check if two names match, actor two and three, specifically.

G_G

use these in a script call.
$game_variables[id here] = $game_actors[id here].name
$game_variables[id here] = $game_actors[id here].name


In your case
$game_variables[1] = $game_actors[2].name
$game_variables[2] = $game_actors[3].name


Then in a Conditional Branch check to see if variables 1 and 2 are equal

Alton Wyte

I thought that was it, but I get the NoMethodError whenever I try it.

Event Master

Make sure that it's on one line. Most people have a problem like this whenever they have something =
then on the next line they start what they want to compare.
World's Greatest Gravedigger

Blizzard

I know you're trying to help people and stuff, but gravedigging old topics isn't going to cut it, especially if people aren't active anymore.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.