|
2fast4u Nabob
SL-ice.net
Join date: 28 Dec 2005
Posts: 542
|
08-11-2006 10:55
I am thinking of creating a modified money tree based on the ever-popular WolfHaven Money Tree. The 'tree' I am creating is not a tree as such - it is more of a game with the reward of money (you play the game for free).
Does anyone know where I can get a copy of the money tree scripts?
I am not in-world now, nor can I get there for a while, so I wanted to use my 'offline' time to work on my idea. The creator of the money tree is Traven Sachs - I'd ask him/her myself but I cannot login now (sloooowwww cell-phone based internet connection).
This is for personal use at my properties that cater to new residents.
Thanks -2fast
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
08-11-2006 13:14
Well, since I doubt rezzed objects can get debit permission when the owner is not present, you'll need one fixed prim that has a script requesting PERMISSION_DEBIT. I'm sure the money trees then just rez objects based on timers and calls to 'llFrand()', or they just have invisible prims that change state and reposition themselves in the link set. These objects/prims then communicate back to the central script when they are touched (or if they are linked the central script has the only touch event handler and it figures out which child prim was touched using 'llDetectedLinkNumber()'). From there it is a simple matter of calling 'llGiveMoney()' and having the touched object/prim die or change back to an invisible/inactive state.
|
|
2fast4u Nabob
SL-ice.net
Join date: 28 Dec 2005
Posts: 542
|
08-11-2006 13:23
From: Hewee Zetkin ... only touch event handler and it figures out which child prim was touched using 'llDetectedLinkNumber()'). From there it is a simple matter of calling 'llGiveMoney()' and having the touched object/prim die or change back to an invisible/inactive state. Ohhh...very cool  *hits forehead* This approach is soooo elegant - I was not even close to thinking about it in this way! Thank you Hawee! Looking foward to getting this done now instead of messing around with various approaches 
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
08-11-2006 14:13
No problem. Have fun and good luck!
|