Actually we canhave editable properties for scripts
- Code: Select all
--[[Prop|float]] Run_Timeout = 1000
Would it be possible to make it editable for files path and name (sounds, images, text) ?
For example instead of having that code :
- Code: Select all
audioFile_Footstep = "Footstep_Grass_00.ogg";
It would be this code
- Code: Select all
--[[Prop|file]] audioFile_Footstep = ""
This would display a little button that user can click to open explorer and choose some file, like Unity can do for example :
It's not very important , but i think having this later will be very helpfull as this will decrease the amount of coding and allow to quickly edit and change files names used by a script (sound, images, text), or to customize some entity to use different sounds or texture images or effects.