Momo
11 years ago
time for my daily stupid question! How you call a script that says something in chat when you rez an item? because I am not finding stuff on the MP
latest #11
Eveling
11 years ago
I'd look for "Say" or "Speak" but I think that the default script when you make a new script can be easily modified.
Eveling
11 years ago
It's default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llSay(0, "Touched.");
}
}
Eveling
11 years ago
But you can change "touch_start" to "on_rez"
立即下載
Eveling
11 years ago
and change "Touched" to what you'd like it to say :-))
Eveling
11 years ago
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
on_rez(integer total_number)
{
llSay(0, "Momo's dialog here!");
}
}
Eveling
11 years ago
er...wait
Eveling
11 years ago
xD maybe
Eveling
11 years ago
I always have to tinker with these things before I can get them to actually work. :-(
Momo
11 years ago
TheEvePetlyakov: lol i am so dumb and yes thanks i did the thingie!
Momo
11 years ago
on_rez, that was! ^^
Eveling
11 years ago
back to top