Jump to content

Pay object to run a script?


Vexxx Vella
 Share

You are about to reply to a thread that has been inactive for 4121 days.

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

Recommended Posts

Hi guys, I'm trying to figure out a script.

I have a scripted object which uses poseballs, and I want it to be a paid object with a timer. I need a way of starting the poseball script when someone pays it, and also start a timer, when the time runs out it stops the script and removes the poseballs.


So either a simple script to start and stop another script when paid, or a modification I can use in the original script.

Any help would be much appreciated :)

Link to comment
Share on other sites

What you basically need is a money event (http://wiki.secondlife.com/wiki/Money) to know that someone has payed the object and a timer event (http://wiki.secondlife.com/wiki/Timer) that you set with llSetTimerEvent (http://wiki.secondlife.com/wiki/Timer) to time the sitting. For an example how to script a pose ball, look here http://wiki.secondlife.com/wiki/Zero_Lag_Poseball

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4121 days.

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
 Share

×
×
  • Create New...