- 11
- Posts
- 8
- Years
- Seen Jan 22, 2017
I am new to RPGMaker & Ruby, but I am a programmer. I'm having an issue getting NPCs to ask the player if they want to battle and subsequently allow the player to select yes or no. When I write battle code and playtest, my code gets re-written and my show choices branch goes away. If anyone has any advice about this please let me know, I'm sure there is a simple fix. Here is my code so far...
@>Text: Would you like to battle?
@>Show Choices: Yes, No
:When[Yes]
@>Comment: Battle: !
@>Comment: Type: BREEDER
@>Comment: Name: Bob
@>Comment: Endspeech: ?
@>
:When[No]
@>Text: !
@>
:Branch End
Thanks!
@>Text: Would you like to battle?
@>Show Choices: Yes, No
:When[Yes]
@>Comment: Battle: !
@>Comment: Type: BREEDER
@>Comment: Name: Bob
@>Comment: Endspeech: ?
@>
:When[No]
@>Text: !
@>
:Branch End
Thanks!
Last edited by a moderator: