RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[VX] Problem with script ATB 1.2c... plz help.

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 57
RMRK Junior
I have a problem with the script ATB 1.2C from the "Tankentai Sideview Battle System v3.4e & ATB v1.2c"

Hope u guys can help me.

I am Hispanic, therefore I have the RPG Maker in Spanish. One difference is that in the Spanish version uses two vocab:
StartScape and StartScapeSolo.

The problem I have is that I do not know how to configure the script so that if my party more than one character says "StartScape" and if there is only one says "StartScapeSolo".
I hope you understand me, my English is terrible.

Here you have the section of the script that decides which vocab when used for escape.

@info_viewport.visible = false # hide the info viewport
@message_window.visible = true # show the message window
text = sprintf(Vocab::EscapeStart, $game_party.name) # format the escape text
$game_message.texts.push(text) # add it to the $game_message, so the message window grabs it next update
Sound.play_escape #play escape sound
if !success
$game_message.texts.push('\.' + Vocab::EscapeFailure)
# add fail message if necessary
end



grettigs!

***
Rep:
Level 60
Marc: You should be able to use $game_party.members.size to check the size of the current party, so you might be able to do something like this (untested, by the way):

Replace this:

Code: [Select]
text = sprintf(Vocab::EscapeStart, $game_party.name)

With this:

Code: [Select]
if $game_party.members.size > 1
  text = sprintf(Vocab::StartScape, $game_party.name)
else
  text = sprintf(Vocab::StartScapeSolo, $game_party.name)
end

I hope that works for you. :)

**
Rep: +0/-0Level 57
RMRK Junior
Omg! This works my friend.
Thank you so much!!
I can afford it do you? haha