Help with your scripting

Editable properties : String input

Editable properties : String input

Postby SpiderMack » 27 Sep 2017, 09:06

Hi,

Is there String variable support for script editable properties ?

Code: Select all
---------------------------------------------------------------------------------
-- EDITOR: MOVEMENT
---------------------------------------------------------------------------------
--[[Prop|Header]]   Movement        = ""
--[[Prop|float]]   Walk_Speed       = 2.25


I tried [[Prop|string]] , but it didn't worked , i could only enter numbers ?
User avatar
SpiderMack
Skyline Expert
 
Posts: 441
Joined: 02 Dec 2016, 09:15
Skill: Concept artist
Skill: 3D Modeller
Skill: Level Designer
Skill: Scripter

Re: Editable properties : String input

Postby SolarPortal » 28 Sep 2017, 10:32

--[[Prop|string]] My_String = "Hello"

This should work :) Make sure to save the script again though :)
Will add to my list to test :)
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 Lua Scripting

Who is online

Users browsing this forum: No registered users and 6 guests

cron