WhiteCoreSim / WhiteCore-Dev

WhiteCoreSim - Software to create your own virtual world
BSD 3-Clause "New" or "Revised" License
26 stars 34 forks source link

Question: Where to change the default text in a new script #305

Closed Ramius1701 closed 6 years ago

Ramius1701 commented 6 years ago

Change this:

default { state_entry() { llSay(0, "Script running."); } touch_start(integer number) { llSay(0,"Touched."); } }

To this for example:

default { state_entry() { llSay(0, "LCARS Initialised."); } touch_start(integer number) { llSay(0,"I'm not programmed to do anything yet!"); } }

I can change this in the opensim code. Havent been able to locate where in the WhiteCore code

emperorstarfinder commented 6 years ago

The Default.lsl script which is what is used when a new script is created can be found at:

WhiteCoreSim/Data/ScriptEngines/Default.lsl

In theory this can be changed and you should be able to change the default message in the new scripts that are created that way.

Ramius1701 commented 6 years ago

Awesome TY, will test this out :)