|
Sean Martin
Yesnomaybe.
Join date: 13 Sep 2005
Posts: 584
|
07-21-2006 03:48
Is there any particular way to typecast a vector value to tell another object where to go? I need prim1 to tell prim2 to move towards it when I tell it to by command. Most of the logic is done, such as movments once it gets the vector data, but I can't figure a good way to send a vector value without it getting all screwed up. Seems simple so I must be missing something. 
|
|
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
|
07-21-2006 03:55
Sender: llSay(channel,(string) newPositionVector);
Receiver: vector newPosition=(vector) receivedString;
_____________________
Zi! (SuSE Linux 10.2, Kernel 2.6.13-15, AMD64 3200+, 2GB RAM, NVidia GeForce 7800GS 512MB (AGP), KDE 3.5.5, Second Life 1.13.1 (6) alpha soon beta thingie) Blog: http://ziree.wordpress.com/ - QAvimator: http://qavimator.orgSecond Life Linux Users Group IRC Channel: irc.freenode.org #secondlifelug
|
|
Sean Martin
Yesnomaybe.
Join date: 13 Sep 2005
Posts: 584
|
07-21-2006 04:18
From: Zi Ree Sender: llSay(channel,(string) newPositionVector);
Receiver: vector newPosition=(vector) receivedString; oh duh. Thanks
|