VX ACE MAKING DIALOGUE
Posts
Pages:
1
I have looked around quite a lot and can't seem to find an answer to this, but I am trying to make an NPC have three different lines of dialogue, however only one is used at a time and in a specific order. So:
Player interacts with NPC, NPC says dialogue #1, end event. Player interacts with NPC, NPC says dialogue #2, end event. Player interacts with NPC, NPC says dialogue #3, end event.
I know I can make it so the dialogue just comes all at once, but I want it broken up so player can approach NPC more than once.
I was thinking it would need some kind of variable? I'm having trouble figuring it out or finding it anywhere else on the web.
Player interacts with NPC, NPC says dialogue #1, end event. Player interacts with NPC, NPC says dialogue #2, end event. Player interacts with NPC, NPC says dialogue #3, end event.
I know I can make it so the dialogue just comes all at once, but I want it broken up so player can approach NPC more than once.
I was thinking it would need some kind of variable? I'm having trouble figuring it out or finding it anywhere else on the web.
I love your first sentence because it's often used by people who haven't looked at all. Not saying you're doing the same. It's just a funny coincidence.
Anyway, you can do this in different ways. The most basic method I know for quick NPC making, is to simply use the NPC event's self switches. You use all the self switches you want for different dialogue (up to 5 per event, if you want more, you'll have to use global switches or a variable), and then at the last dialogue, you turn all the self switches off to force it to start repeating the first line.

Anyway, you can do this in different ways. The most basic method I know for quick NPC making, is to simply use the NPC event's self switches. You use all the self switches you want for different dialogue (up to 5 per event, if you want more, you'll have to use global switches or a variable), and then at the last dialogue, you turn all the self switches off to force it to start repeating the first line.

author=Mirak
I love your first sentence because it's often used by people who haven't looked at all. Not saying you're doing the same. It's just a funny coincidence.
Anyway, you can do this in different ways. The most basic method I know for quick NPC making, is to simply use the NPC event's self switches. You use all the self switches you want for different dialogue (up to 5 per event, if you want more, you'll have to use global switches or a variable), and then at the last dialogue, you turn all the self switches off to force it to start repeating the first line.
You want to see my internet history? lol thank you very much for the help.
Pages:
1














