|
woofbag Fudo
Registered User
Join date: 3 Aug 2006
Posts: 31
|
09-04-2007 15:02
This script works for me perfectly, but for some reason whenever I send the object this script is in to someone else, the "hold_R_handgun" animation doesn't work for the new owner, they get the permissions not set error. If I make it so the script restarts on rez it works, but then all the buyer would have to do was un-attach and re-attach this occasionally and they'd have unlimited soda! there's no way (at least, none that i can think of) that this thing can keep the current amount of sips taken and reset the rest of the script... so I'm at a loss... help please? Removed for privacy 
|
|
RJ Source
Green Sky Labs
Join date: 10 Jan 2007
Posts: 272
|
09-04-2007 15:40
Looks like you have two on_rez events. Combine them or delete one. But keep the permission request in the on rez that is left.
|
|
woofbag Fudo
Registered User
Join date: 3 Aug 2006
Posts: 31
|
09-04-2007 16:08
From: RJ Source Looks like you have two on_rez events. Combine them or delete one. But keep the permission request in the on rez that is left. Like this? Removed for privacy 
|
|
RJ Source
Green Sky Labs
Join date: 10 Jan 2007
Posts: 272
|
09-04-2007 16:17
I haven't tested it, but that does look better.
|
|
woofbag Fudo
Registered User
Join date: 3 Aug 2006
Posts: 31
|
09-04-2007 16:26
From: RJ Source I haven't tested it, but that does look better. tested it with my friend, and it works! after it expires, if you remove it and put it back on, the handgun anim turns on for a few seconds, but that seems to be the only lingering problem.
|
|
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
|
09-04-2007 23:18
When an object is rezzed the first time by a new owner the change event will be invoked.
This gives you the option to not only detect a new owner without having to reset the script but also allows you to request permissions as needed.
|