Jump to content
You are about to reply to a thread that has been inactive for 762 days.

Please take a moment to consider if this thread is worth bumping.

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. 

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

Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 762 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...