This is where active bugs can be seen and where to post a new bug.

Lua script editor

Lua script editor

Postby epsilonion » 21 Feb 2017, 02:38

After been in for 60 lines of code I saved the script (save as). when I got to 100 lines I clicked save (because it already was 'saved as' previously) and it did not save the extra code from after the first save as..

to get it to update the file I 'saved as', I had to click 'save as' again because it did not do it when clicking the 'save' button following a 'save as' ..

hope you get what I mean sounds better in my head lol...

anyways got there in the end, just dont want anyone loosing there code if there writing a lot of it... lol would be a disaster.. lol ;)
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Lua script editor

Postby SolarPortal » 21 Feb 2017, 10:32

perhaps it doesnt open the new saved as file when editing.
try opening the new file you saved and then program the code in :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Lua script editor

Postby StarFire » 21 Feb 2017, 14:47

You would have to point your entity's script to the new file otherwise you will just be opening the original file.
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: Lua script editor

Postby epsilonion » 21 Feb 2017, 14:49

ah cool I thought it would have worked like other software lol will make note of it.. :)

Thank you
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Lua script editor

Postby SolarPortal » 21 Feb 2017, 17:23

i think we have wanted to force the file open if saved as is used as like you say, its standard between software. I agree that a note should be made in docs and it should be a feature to add also :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to Active / New Bugs

Who is online

Users browsing this forum: No registered users and 10 guests