|
Mitzie Mohr
Registered User
Join date: 10 Feb 2007
Posts: 10
|
03-04-2007 13:19
I'm attempting to share the radio station selection for my land with newbies. To many, the complexities of finding stations, identifying the IP, then installing it is complicated. This Script should set their land to the IP. It's not working. What am I missing? default { state_entry() { llSetParcelMusicURL("http://38.116.132.31:9028"  ; } }
|
|
Sterling Whitcroft
Registered User
Join date: 2 Jul 2006
Posts: 678
|
03-04-2007 13:57
Script is in a Prim. (so it can be rezed) Hand the prim to the Noobie. (so the owner is now the noobie) Noobie stands on Land he owns. (so the URL knows WHICH property) Noobie Looks at "About Land.." and the media tab in it to be sure that he CAN change the URL. (cuz the noobie might only be renting, or the Estate settings may be incorrect.) Noobie Rez's the Prim to the ground. (Causing the script to run.) Script runs or gives error? (add a llsay that "I'm this far along" in the script to debug it)
|
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
03-04-2007 17:58
From: Mitzie Mohr I'm attempting to share the radio station selection for my land with newbies. To many, the complexities of finding stations, identifying the IP, then installing it is complicated. This Script should set their land to the IP. It's not working. What am I missing? default { state_entry() { llSetParcelMusicURL("http://38.116.132.31:9028"  ; } } state_entry is not run on rez, even after an owner change. try: default {
state_entry() { llSetParcelMusicURL("http://38.116.132.31:9028"); }
on_rez(integer n) { llResetScript(); }
}
|
|
Mitzie Mohr
Registered User
Join date: 10 Feb 2007
Posts: 10
|
On Rez
03-04-2007 22:27
That line fixed the problem..>Thanks for the tip!
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
03-05-2007 00:04
or default { on_rez(integer n) { llSetParcelMusicURL("http://38.116.132.31:9028"); } }
|