Pim_gd
Content Creator
- Joined
- Jan 25, 2013
Re: AaRLs Dialogues: (Jul 11, 2013 - NEW (OLD) DIALOGUE - TIFA BEACH (RE)REMASTERED)
Examples.
We're gonna abuse Bob here - he'll be our man. Sadly, he won't see any action as we just need him for some lines.
Bob feels sad about this, but who cares.
intro:"Hi, *YOU*!"
will print
"Hi, Bob!"
Now, if we remove Bob here - Bob, get out of the room for a moment - then we'll get a different output:
"Hi, !"
And it looks like we have some grammatical screwup here.
So, how do we fix this? By adding things to the substitute.
intro:"Hi*, YOU*!"
Bob, get back in here. Right. So with Bob here, the output will be as follows:
"Hi, Bob!"
Which is as it should be. Now, when Bob leaves the room again - Bob, mind leaving the room again? No, don't ask why. Just leave for a moment. Okay. With Bob gone, we'll get the following output:
"Hi!"
Which doesn't have grammatical issues.
replace ", *YOU*," with ",* YOU,*"
" *YOU* " with " *YOU *"
" *YOU*{?!,.}" with "* YOU*{?!,.}"
and so on. Just imagine that YOU will be replaced with the player name if possible, and otherwise the entire substitute will be removed.
Examples.
We're gonna abuse Bob here - he'll be our man. Sadly, he won't see any action as we just need him for some lines.
Bob feels sad about this, but who cares.
intro:"Hi, *YOU*!"
will print
"Hi, Bob!"
Now, if we remove Bob here - Bob, get out of the room for a moment - then we'll get a different output:
"Hi, !"
And it looks like we have some grammatical screwup here.
So, how do we fix this? By adding things to the substitute.
intro:"Hi*, YOU*!"
Bob, get back in here. Right. So with Bob here, the output will be as follows:
"Hi, Bob!"
Which is as it should be. Now, when Bob leaves the room again - Bob, mind leaving the room again? No, don't ask why. Just leave for a moment. Okay. With Bob gone, we'll get the following output:
"Hi!"
Which doesn't have grammatical issues.
replace ", *YOU*," with ",* YOU,*"
" *YOU* " with " *YOU *"
" *YOU*{?!,.}" with "* YOU*{?!,.}"
and so on. Just imagine that YOU will be replaced with the player name if possible, and otherwise the entire substitute will be removed.