there is a linkset of two objects
this code goes in first object
default
{
touch_start(integer total_number)
{
llRegionSayTo(llGetKey(), -99, "flame");
}
}
this goes in another object i m communicating to : i am not sure how to use a listen() so i m getting error in this code
default
{
state_entry()
{
listen( integer -99, string name, key id, string message ) //<----- here is the syntax error
{
if(message == "flame")
{
llSay(0, "burn");
}
}
}
}
i read the wiki but still unsure how to use listen() properly to make it work