Jump to content

Recommended Posts

Looking for a scripter to make a click to animate hud, and click for a smoke particle. We're making vapes and I want those who purchase the item to be able to use their vapes with these huds. Once the hud has been clicked the vape will continue to animate the avatar and smoke will play until they are deactivated via the hud. Anyone who can help us with this projects we would love to work with on this. 

Share this post


Link to post
Share on other sites

HUD

touch_end(integer nd) {
	llSay(-123456, "vape");
}

Vape
 

listen(integer channel, string name, key id, string msg) {
	if (channel == -123456) {
		if (msg == "vape") {
			// produce smoke particles here
		}
	}
}

just a rough idea for ya. Not to hard to do, i use sublime text 3 with the lsl addon package and sometimes refer to lsl wiki at http://wiki.secondlife.com/wiki/Category:LSL_Functions

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...