|
Xiaonan Aeon
Registered User
Join date: 10 Apr 2008
Posts: 10
|
05-09-2008 07:07
Hi,
Is there a way to define a 'global' (just for my own land) function?
thanks
|
|
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
|
05-09-2008 07:45
Pretty much the only "ways" to do that is to either place a script on your land which listens for commands and parameters and then says/shouts/regionsays the result back to the asking object, or to use llEmail (20 second delay of the calling script!) or some external php/other code to process html queries....
If its in the same object then link messages are the preferred way to communicate 'tween scripts.
|
|
Xiaonan Aeon
Registered User
Join date: 10 Apr 2008
Posts: 10
|
05-11-2008 03:29
Thanks, Squirrel.
I guess the first option is good for me now.
What you said 'to place a script on the land' you mean to add one object on the land first and attached the script to it. Or there is a way to add script directly on the land?
|
|
Barrington John
Yorkshire guy
Join date: 17 Nov 2007
Posts: 119
|
05-11-2008 06:02
A script can only run from within a prim, so you'd need to have at least a pine cube rezzed on your land.
Better is an invsible prim, or a script disguised as a rock,or a lamp, or something, as long as you remember where you put it. Or make use of an existing prim such as section of wall.
|