- Jan 21, 2007
- 29
- 0
- 28
I have a question about NPC's and I hope Iam not asking it the second time.
Is it possible that an NPC can write names in a .txt file and that another NPC can read those names from the same .txt file?
For example:
If you click on NPC Homer it writes down the following in Test.txt
===Test.txt===
Marge
Lisa
Maggie
Skinner
Willey
============
Then when you click on NPC Bart you can choose:
Whos 1st? Whos 2nd? Whos 3rd? Whos 4th? Whos 5th?
Let's say you click on "Whos 3rd?", then what the NPC says next is:
"The 3rd on the list is Maggie!."
So basically I need to know how an NPC can write and read lines in a .txt file.
Thanks for any help.
Is it possible that an NPC can write names in a .txt file and that another NPC can read those names from the same .txt file?
For example:
If you click on NPC Homer it writes down the following in Test.txt
===Test.txt===
Marge
Lisa
Maggie
Skinner
Willey
============
Then when you click on NPC Bart you can choose:
Whos 1st? Whos 2nd? Whos 3rd? Whos 4th? Whos 5th?
Let's say you click on "Whos 3rd?", then what the NPC says next is:
"The 3rd on the list is Maggie!."
So basically I need to know how an NPC can write and read lines in a .txt file.
Thanks for any help.
