Difference between revisions of "Talk:Drink script"

From Second Life Wiki
Jump to navigation Jump to search
(Cycles)
(No difference)

Revision as of 11:09, 15 May 2009

Cycles

Why does this script have both a flag variable that loops through values 0-3 and a timer event triggering how often it happens? Currently the timer fires every 15 seconds, incrementing the flag variable and looping when it hits 4, and only firing the "drink" animation when flag equals 1, which means it fires once a minute. Wouldn't it be more effective to just have a timer set to 60 seconds and fire the animation every time? --Sheridan Otoole 18:09, 15 May 2009 (UTC)