Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Ramius1701 opened this issue May 17, 2018 · 2 comments
Closed

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

Ramius1701 opened this issue May 17, 2018 · 2 comments
Labels
Milestone

Comments

@Ramius1701
Copy link

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
Copy link
Contributor

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
Copy link
Author

Awesome TY, will test this out :)

@fly-man- fly-man- added this to the 0.9.5 milestone May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants