kreechur Gloom Posted April 9, 2015 Share Posted April 9, 2015 i want to "sell" some gestures i made in world for 1 linden each. and i want the "customer" to be able to hear the gesture, before they buy it. so where do i start? Link to comment Share on other sites More sharing options...
Rolig Loon Posted April 9, 2015 Share Posted April 9, 2015 Just put the default "Hello, Avatar" script in a prim, change the words "Hello, Avatar!" to whatever your gesture is supposed to say, and let people click it. default{ touch_start(integer total_number) { llSay(0, "Tee hee. You touched me!"); }} If the gesture is supposed to play a sound bite instead, just change it to llPlaySound instead of llSay: default{ touch_start(integer total_number) { llPlaySound("My_sound", 1.0); }} Just remember to put your sound file ( "My_sound" ) in the same prim if you do that. Link to comment Share on other sites More sharing options...
Xiija Posted April 9, 2015 Share Posted April 9, 2015 or , to combine the two.... right click the sound in your inventory, and choose "copy asset UUID" and paste that into the definition of ....sound ... in the example below, string sound = "ea862380-c9c8-e18c-6121-7fe6b228354a";string text = "• °*”˜¸,°º¤ø,¸ Yeah, I want some cheesypoofs! ¸,ø¤º°,¸˜”*° • " ;default{ state_entry() { } touch_start(integer total_number) { llPlaySound(sound,1.0); llSay(0,text ); }} you could also make a vendor with multiple gestures, but that is a bit more complex, this example works for one sound & text per prim. Link to comment Share on other sites More sharing options...
kreechur Gloom Posted April 11, 2015 Author Share Posted April 11, 2015 thanks so much......i wonder why i dont get email alerts for this.....i get email alerts for everything else. Link to comment Share on other sites More sharing options...
Rolig Loon Posted April 11, 2015 Share Posted April 11, 2015 This what? This thread? Did you click "Options" in the upper right corner of your question and select "Subscribe"? Link to comment Share on other sites More sharing options...
kreechur Gloom Posted April 12, 2015 Author Share Posted April 12, 2015 no. thanks. i did now... Link to comment Share on other sites More sharing options...
kreechur Gloom Posted April 12, 2015 Author Share Posted April 12, 2015 no i cant i get this when i do his XML file does not appear to have any style information associated with it. The document tree is shown below. Link to comment Share on other sites More sharing options...
Rolig Loon Posted April 12, 2015 Share Posted April 12, 2015 I'm afraid I don't understand. 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