- Home /
Script writing a note to player save on their desktops
I'm currently making a horror game which force exits your game bringing you to your desktop. And I'm trying to figure out a way to get a script to write and save a note to the players desktop, which the player can then open.
How is part of the game force exiting the game? You would have to do so much because how would you $$anonymous$$imize all other tabs and what if there desktop is completely full? Then what will you do? If they're on a $$anonymous$$ac that could be different.. I'm not sure people would like a game kicking them out and then having it save files to their computer... I need more context
Answer by Cynikal · Jul 20, 2018 at 01:09 AM
Although this is possible with running the game as an administrator, take a look at:
I believe the command is like, File.WriteAllText
Edit:
Writing to a desktop I believe requires administration privileges.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Controlling Players Mouse 2 Answers
Multiple Cars not working 1 Answer
Problem Javascript to C# 3 Answers
dealing with gameObject formations 1 Answer