Author Topic: Access command line parameters  (Read 3725 times)

0 Members and 1 Guest are viewing this topic.

Alex

  • Newbie

  • Offline
  • *

  • 15
    • View Profile
Access command line parameters
« on: November 22, 2009, 07:50:03 PM »

Is there a way to access command line parameters inside lua script ?

Thanks.

JeGX

  • Global Moderator
  • Hero Member

  • Offline
  • *****

  • 544
    • View Profile
    • Geeks3D.com
Re: Access command line parameters
« Reply #1 on: November 24, 2009, 06:10:19 PM »
what do you have in mind? Example?

Alex

  • Newbie

  • Offline
  • *

  • 15
    • View Profile
Re: Access command line parameters
« Reply #2 on: November 28, 2009, 12:02:00 AM »
example:
Code: [Select]
myprogam.exe -size 1680 1050 -multiplayer

JeGX

  • Global Moderator
  • Hero Member

  • Offline
  • *****

  • 544
    • View Profile
    • Geeks3D.com
Re: Access command line parameters
« Reply #3 on: November 30, 2009, 02:43:26 PM »
Ok, let me see what I can do...