• 0

Load text from a .txt file into an ACS script?

Question

Is it possible to have an ACS script load a paragraph from a .txt file? Making a in-game computer terminal kind of like Deus-Ex and I'm trying to keep the script as modular as possible because there's going to be decent number of them. Thanks in advance for any answers.

Share this post


Link to post

2 answers to this question

  • 0

I'm not too familiar with ACS at the moment but I'm pretty sure something you *can* do is write a separate acs file with either all your strings in a list or an array containing all your strings and then in the main script do "#include nameofthescriptwiththestrings.acs". I don't know of any file IO acs can do other than create save files

Share this post


Link to post
  • 0

You could write out those into strings in LANGUAGE and then reference them in ACS.

1 person likes this

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now