I am finishing up my game team effort. The problem I have is when a player exports a level. Exporting a level creates a file and writes to it. It works great as long as the player is running the game as an administrator however if they are not then the game crashes. I have placed warnings in the game that inform the player that they need to run the game as an administrator in order to export a level.

If there is a way I would like to prevent the crash. Is there a way that I can check to see if the user is running the game as the administrator or not? That way I could check before creating the new file and prevent the crash.

Or perhaps there is another fail safe method I could use. I am open to suggestions Thanks.


Mikes Wicked Games

www.mikeswickedgames.com