In need of a way to pass multiple variables of multiple types into a single function. Ive tried 100x times and can't make it work. So below is a VERY GENERAL example of what I'm TRYING to do, to give you an understanding of what I am attempting. // variables that must be passed into the function.
vector neon = <0.0,0.7,0.7>;
vector color = <0.0,0.11,0.11>;
integer shine = 1;
string UUID_1 = "678dc692-2e31-3bed-835d-741167841f96";
string UUID_2 = "3d6210bf-af0d-28b2-bab6-53109a2ebab3";
string message = "Hope this works.";
//function & output
my_function(vector neon, vector color, integer shine, string UUID_1, string UUID_2, string message)
{
list listCast(list my_function, integer type)
{
list result = [ ];
llSay(0, "neon = " + (string)neon );
llSay(0, "color = " + (string)color );
llSay(0, "shine = " + (string)shine );
llSay(0, "photo1 = " + UUID_1 );
llSay(0, "photo2 = " + UUID_2 );
llSay(0, "message = " + message );
}
} I would like to know how you would fix this, but even more id like to UNDERSTAND what's being done.