Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-23-2006, 09:33 PM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
loadlines

Is it possible to use loadlines to read from say a key in an ini file?
Having a little trouble figuring out how if it is possible, this is what im talking about.

Quote:
Originally Posted by File
[Move]
up=w
down=s
left=a
right=d
[Strafe]
left=q
right=e
An Example.
Then i wanted to load the contents of the file, and only get the values under [Move].

I tried loading the lines and searching for "[Move]' then just isolating the contents under that, trying to find the = signs, and hunt the stuff on each side, but I discovered I am doing that either, wrong, or too complicated.

Can GS2 do this easier?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.