Ganthrithor Posted April 2, 2012 Share Posted April 2, 2012 I have a source prim with this script:integer COMCHAN = -6443634; default { touch_start(integer total_number) { llWhisper(COMCHAN, "grape"); } } I have a target prim with this script:integer COMCHAN = -6443634; integer on; default { state_entry() { llListen( 0, "", NULL_KEY, "grape" ); } listen(integer channel, string name, key id, string message) { if(on) { on = FALSE; llOwnerSay("OFF"); llSetAlpha(0, ALL_SIDES); } else { on = TRUE; llOwnerSay("ON"); llSetAlpha(100, ALL_SIDES); } } }Why aren't they talking? Link to comment Share on other sites More sharing options...
Spritely Pixel Posted April 2, 2012 Share Posted April 2, 2012 you are listening on channel 0 state_entry() { llListen( 0, "", NULL_KEY, "grape" ); } youneed to change it to state_entry() { llListen( COMCHAN , "", NULL_KEY, "grape" ); } Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted April 2, 2012 Share Posted April 2, 2012 Because in the second script the Listener listens to channel 0 and not to COMCHAN Link to comment Share on other sites More sharing options...
Ganthrithor Posted April 2, 2012 Author Share Posted April 2, 2012 :catvery-happy: Link to comment Share on other sites More sharing options...
Johan Laurasia Posted April 3, 2012 Share Posted April 3, 2012 The Lucy Show is on channel -6443634 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now