Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Gettin variable info from another script

Bero Radek
Registered User
Join date: 8 Jan 2008
Posts: 1
01-27-2008 12:11
Hi all, im kinda new 2 scripting heh, im kinda new 2 SL 2 for that mather :P

Well, yeah, i kinda wonder, is it possible to get variable info from a script into a second one? :o

Thx in advance /Bero
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
01-27-2008 12:21
if they are in different objects you can use chat, but you will have to typecast if your sending anything but a string (ie (integer)message )

if not use linked messages, each message can contain a number, a string and a key at the same time

http://cheesefactory.us/lslwm/llMessageLinked.htm

http://cheesefactory.us/lslwm/Typecast.htm