Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Calling a User-defined function in another script

Tubaman Grasshopper
Registered User
Join date: 27 Apr 2005
Posts: 18
07-20-2005 21:09
Is it possible for a script to call a user-defined function directly in another script in the same prim and receive a return value?
Tubaman Grasshopper
Registered User
Join date: 27 Apr 2005
Posts: 18
07-20-2005 21:24
Hank Ramos informed me in-world that I should use llMessageLinked, and I am very grateful.
Velox Severine
Network Slave
Join date: 19 May 2005
Posts: 73
07-20-2005 21:32
Unfortunately, there really is no way to include other scripts for functions and such, however if its a simple pass value, return value function, it should be easy enough to use llMessageLinked() for that purpose as Hank suggested.
_____________________
--BEGIN SIGNATURE STRING--
IkkgY2FtZSwgSSBzYXcsIEkgY29ucXVlcmVkLiIgLS1KdWxpdXMgQ2Flc2Fy
--END SIGNATURE STRING--
Jack Lambert
Registered User
Join date: 4 Jun 2004
Posts: 265
07-21-2005 10:58
public class whine() {

er


Nevermind :)
_____________________
----------------------------
Taunt you with a tree filled lot? hahahahahahaha. Griefer trees! Good lord you're a drama queen. Poor poor put upon you.

-Chip Midnight
Synergy Belvedere
Prim Reaper
Join date: 7 Jul 2004
Posts: 253
07-21-2005 12:06
Now if we could just get LL to allow sharing of globals between scripts in the same prim. What a pain in the rear when you have to llMessageLinked your globals change of values back & forth! pffft
_____________________
----------------------------------------------------------
--The mind's eye is limited only by its focus--
Rayve Mendicant
Scripts for L$5 billion
Join date: 12 Mar 2005
Posts: 90
07-21-2005 12:19
exactly synergy, I've proposed this a couple of times.

In threads, not official proposal :)
_____________________
_______________________

Rayve Mendicant
Second Evolution

"Darwin ain't got nothin' on this"