|
CCTV Giant
Registered User
Join date: 2 Nov 2006
Posts: 469
|
10-29-2007 09:33
Hi Guys -- I come for some advice from the smart guys  I am using a menu driven camping script for a small portion of some of my projects. It come with 2 scripts -- one for the menu and one for the camping. I have passed a few of these out and I am I get feedback that they are not paying. Upon further investigation I find out that the towels, chairs etc are not asking for debit perms. So I reset the scripts in the camper. Not so bad for me but I put no-mods on the script which borks it for the user every time. The quick fix, to no piss off my customer, is to give them the campers with mod rights on the scripts which allows them to reset the scripts, but I would rather go no mod. Any suggestions or fixes that you guys can think of? Thanks in advance CC
|
|
Daten Thielt
Registered User
Join date: 1 Dec 2006
Posts: 104
|
10-29-2007 09:59
Rather simple way around it in the menu where u have ur llDialog put a reset button in, then in ur listen event do the folowing if(msg == "reset"  { llResetOtherScript("camping"  ; llResetScript(); }
|
|
CCTV Giant
Registered User
Join date: 2 Nov 2006
Posts: 469
|
10-29-2007 10:04
Thanks Daten.......I will try that this evening. I appreciate the feedback.
|
|
Daten Thielt
Registered User
Join date: 1 Dec 2006
Posts: 104
|
10-29-2007 10:05
nps at all
|
|
Ravanne Sullivan
Pole Dancer Extraordinair
Join date: 10 Dec 2005
Posts: 674
|
10-29-2007 10:26
put in a change event so that the script resets on change owner and on rez. The most likely problem is that the script retains its state from when you had it active and does not reset when the script passes to the new user.
|
|
CCTV Giant
Registered User
Join date: 2 Nov 2006
Posts: 469
|
10-29-2007 11:06
Hey Ravanne -- I am not a scriptor although I can mod to some degree. I get what you are saying but would have no idea how to do that.
|
|
Daten Thielt
Registered User
Join date: 1 Dec 2006
Posts: 104
|
10-29-2007 11:20
he means soming like the folowing
changed(integer change) { if(change & CHANGED_OWNER) { llResetScript(); } }
and
on_rez(integer rez) { llResetScript(); }
|