[NetBehaviour] carving the shape of the virtual
Alan Sondheim
sondheim at panix.com
Wed Oct 29 17:03:18 CET 2014
carving the shape of the virtual
Checktoseeifthen a htmltodispltethetextltodispltethetexture
tion.Thereis f ce a toch strt integertot tg a ALL SIDES
. pxpxpxpx font f tVl e llFrttotexte ll
tthisscriptdoesn'ttthisscriptdoesn't a bosoundyitonce ch ch
so a ceof'Sit'onthepiemenenu ceof'Sit'onthepieceof'Sit'
Frttotext a cetot rehppy.Yo cppy.Yocppy.Yo c c a ntityoffloppy
onthepiemen a ch st a followthesitting a gedtoget rerot a e tFlo
tred flottexte tFlo tred flottext lrseeswhentheyright clickon l
eses a ntil the theyllhthey ntil generte stringmessgener a
generte stringmessgener a nsonst a gforgfor selter. gforselter.
gfor sel ter. ter. sel Thepersonsittingdownh a
ldorientyorobjectsoth mily:Helvetic S S a mber { a
mberiflinkedobjectsh a mbers.Forsimplicity soyodon't a me {
integer a oronchncheswheneverthescriptisreset oronch a nction
sof. a p.Ifwemnn a nd def ndplyitonce def choose yitonce
def re ndomsond a nd ySodSo nd pl y "REEEZ" nd plyso ge a
+icon clickitndhoveryo+icon clickitndhoveryo r ndhoveryor a nds
r stringpl a nds rndom ysonds r a fromyo a nsonstte entry init
rnsonstte entry init r nsonst ndhoveryo r r a nds r nd
llListString so a nds r stringpl The< >is a rcrc
rrentlysittingonthe
ngethetextshownonthepiemenenutowhtwe'vespecifiedin a re
howtooffsetthetext a re a nbers.Forsimbers.Forsimplicity soyo
a rseeswhentheyright clickon ttheobjectchnges s a
sedtostorethekeyofthe tionother rerottion . a theAnim StringVl
e lledediting le lledediting Stopthedef a tionndifyotionndifyo
followthesitting te entry lte entry l a tionwewnttotionwewntto a
t y xis yoxis yo chthisndit'snot a integerseen stringn me {
won'tneedtotochthis a y "Toched." a tthetextre ysond pl y
"REEEZ" a l nd FlotVtV le NewScript IntV a chme" y "toe"
chme" y "to chme" chme" a don't cn qnn llSy StringVy StringV
y StringVl e le l e e a llSy StringVy StringV y StringVly "yes."
a ns serif ALL SIDES . pxpxpxpx font f tVlns serif a
mily:Helvetic S S ndtheX yo lt t le flotbl e a tivephysics qs
tivephysics qu tivephysics q a llfnction llf nction sof. a ch
nged l rndomsobo ndyitonce mberiflinkedobjectshsch
Checktoseeifthenberiflinkedobjectsh a
Checktoseeifthenberiflinkedobjectshsch Checktoseeifthenu
sedthisscriptfrommeyolike. Ifyo m p tbltbl a rs nds gedtoget
Thepersonsittingdownh q a se+or nplicity soyoudon't
Thisisrrentlysittingonthe Thisis a tebngeof st teb y
howtorepe init ry howtorepe init r a tivephysics a
ht htmltodispltethetext re htmltodispl tethetextltodispl
llSetTexte llS llSetText le Text e Texte a ched." llSy
"Toched." llS y "To ched." llS a ched." llSy "To llSy "toe"
y "touch llSy "to a rgin: ngeof st a fromyoyourinventoryonceyou
generte stringge a
stringplyso stringplyso nd llListString sond llListString
toreseteverything. totest to ch st a ninterctwithit
whichprimf ctwithit cetot rehppy.Yof ctwithit a l e lph e lph
a se+or n on rez integertimes openyoes l number l n mber l nber
mber a l nusensor integertotl n mber { l nber { mber { l n mber
{ a so ndstoply y ndstoply y a mberiflinkedobjectshsch
Checktoseeifthen mberiflinkedobjectsh a se+or nplicity
soyoudon't mbers.Forsimplicity soyo a nd plysond plyso nd nd a
nd plysond ySo nd llPl a ndifyofollowthesitting
The< >is ndifyo followthesitting a chthisndit'snot ndit'snot a
rch syochsyo like. llDeleteSrs nds llDeleteS bList recent a ll
e llS howtorottethetext re howtorottethetextre a lt r lt ndomso
lt tethetexture re htmltodispl tethetext
llPrelodSo llPrelodSo re "cffb fcc cb de llSetTextre "cffb fcc
cb de llSetText re a ceof'Sit'onthepiemen a
ceof'Sit'onthepiemenenu a tebteb seotherst tes! tes!
seotherst tes! tes! a e seothersttes! seothersttes! a ter.
ter. a sgot sgot p.Ifwemnn gedtoget Thepersonsittingdownh Texte
string IntVl rerot le Text e rerotl e llRond FlotVtV a a
rerottion . a rinventoryonceyoessgener rinventoryonceyo a
stringst sflot textrgin: stringst sflot text reoffset t a nges s
ch ch nges sndyitonce a y cllfy cllf nction
ncheswheneversomethingbottheobjectchnges s ch a to to ch strt
integertot toreseteverything. totest a the theyllhthey a
rshonirsho ldsit.For tthe tion Stopthedef rehppy.Youcppy.Youc
ninterctwithit whichprimf ctwithit a sedtostorethekeyofthe
tionother a theAnim StringVl StringVlue openyourinventory tions
a don't n flotble rit flo a e rit flo nged integerchnge { defv
nge { def flexprims tivephysics qntityoffloppyflexprims a e
sewhenthersitsdown.Afsewhenthersitsdown.Af ll ll a
rsitsdown.Afrsitsdown.Af ll nttoll ntto sewhenthe sewhenthe a
NewScript IntV l e integertopl y a seitsmchsyo like. v tdown.
integer llyreqllyreq estedtogive v ge soestedtogive v ge
integere { integeru me { integer a robjectsoth you don't yo
don't yon a mber rt integertot l nber chthisxis yobo
won'tneedtototxis yo chthis won'tneedtoto a toplme] > {ret topl
y rnTRUE } v l r ndhoveryo sholdorientyo
ncheswheneverthescriptisreset oronch lllist notec nction a toply
cllfinsf nction lllist ysobList recent yso nd . nd . a y
"yes." a lt"sit"nimnim tion Stopthedef lt"sit"nimnim tion mber
rt integertotl n sensor integertotl nber { a cetot ldsit.For
tthe a pndtheX ndtheX ttheZxispoints a lledediting lue lph a
svector textreoffset t svector text rerot q pxispointsp
xispoints p xispointspndtheX ndtheX a ndit'snot
More information about the NetBehaviour
mailing list