Status
Not open for further replies.

randallstevens

Villager
Member
Joined
Jul 29, 2012
Messages
6
Reaction score
0
Primarily Uses
So I'm new to VXace and I'm trying to create a NPC that changes it's conversation once you hit a certain level. I'm having trouble making it work.

Any help is appreciated.
 

Levi

Veteran
Veteran
Joined
Jun 7, 2012
Messages
798
Reaction score
143
First Language
English
Primarily Uses
Set a variable to receive the player's level (\v[0001] for this example), then set a conditional branch.

For example:

If \v[0001] is 10 or greater = Display Text "You look experienced. I could use your help, if you're up for it."

else = Display Text "Hey, can you he.... oh wait. Nevermind. You're a newb."
 

randallstevens

Villager
Member
Joined
Jul 29, 2012
Messages
6
Reaction score
0
Primarily Uses
I'm trying to set the event with two pages:

I want this to be the page that shows when you're level is 5 or higher:

page1.jpgpage2.jpg
 

Levi

Veteran
Veteran
Joined
Jun 7, 2012
Messages
798
Reaction score
143
First Language
English
Primarily Uses
You have the check the variable outside of that event.

You can't have the event that is checking a variable, be dependant on that same variable. So for page #1 remove the Condition.

edit: Just a note... I Personally feel that Conditional Branches are tidier. I tend to avoid using Event Pages when not absolutely necessary. Escpecially when the branch is just one or two tiers deep. But, whatever floats your boat. ^_^
 
Last edited by a moderator:

regendo

Villager
Member
Joined
Mar 13, 2012
Messages
76
Reaction score
8
First Language
German
Primarily Uses
Or simply have the following on a single event page (without a condition):

Variable 1 is Name's level.

Conditional Branch: Variable 1 >= Levelyouwant

if yes: Show Text (...)

if no: Show Text (...)

end
 

Levi

Veteran
Veteran
Joined
Jun 7, 2012
Messages
798
Reaction score
143
First Language
English
Primarily Uses
Or simply have the following on a single event page (without a condition):

Variable 1 is Name's level.

Conditional Branch: Variable 1 >= Levelyouwant

if yes: Show Text (...)

if no: Show Text (...)

end
That's exactly what I said. Haha.
 

regendo

Villager
Member
Joined
Mar 13, 2012
Messages
76
Reaction score
8
First Language
German
Primarily Uses
Ah, didn't see that edit earlier.
 

Genii Benedict

Supervillain, Extraordinaire
Veteran
Joined
Jun 13, 2012
Messages
333
Reaction score
115
First Language
English
Primarily Uses
edit: Just a note... I Personally feel that Conditional Branches are tidier. I tend to avoid using Event Pages when not absolutely necessary. Escpecially when the branch is just one or two tiers deep.
I agree with this as well. It's a bit easier to deal with everything on a single page, imho.

GB
 

Genii Benedict

Supervillain, Extraordinaire
Veteran
Joined
Jun 13, 2012
Messages
333
Reaction score
115
First Language
English
Primarily Uses
I got it working. Thanks for the replies- they helped a lot!
For those who might search for this type of solution in the future, are you able to post screenshots of what you did?

GB
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,558
Reaction score
5,602
First Language
Dutch
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Started work on the fishing Mini-Game
The Dark Toon art style is now available as Steam branches. (Both for the main game and the demo)
Battle.jpgCaptain.jpgCutsene.jpg
There are 2 versions. One only affects combat, cutscene, and portraits. The other one changes more.
So, technically, the game now has 7 versions on steam.
Arcade-Style RPGM Games? RM2k3 Game Jam & Synth-Retro Music by Azakaela | RPG Maker News #39

Just evented my first minigame, no plugins~ :kaojoy:

Forum statistics

Threads
111,352
Messages
1,060,409
Members
144,681
Latest member
Lakam47
Top