Kevin Whitman's Blog

Tag: llListen

LSL Serving Robot Tutorial – Part 2

In Part 1 we added in touch support, pay support, refunding and displaying menus. In Part 2, we are going to do work in the listen event. Also note if two or more items have the same name, you may run in to a conflict. Continue reading

LSL Serving Robot Tutorial – Part 1

I started to work on this in 2007. You could only pick 4 items from the pay menu, each had its own price.

 So lets rewrite the script! We are going to create a new LSL Script and add a on_rez event to reset the when you rez the bot out of inventory. You should a script that looks like the following:

[code lang="lsl2"]
		llSay(0, "Hello, Avatar!");

	touch_start(integer total_number)
		llSay(0, "Touched.");

	on_rez(integer start_param)


Continue reading

Copyright © 2010 - 2023 Kevin Whitman's Blog

Back To Top ↑