Difference between revisions of "Talk:LlGetEnv"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
{{Unsigned|Francoise Eichel}}
{{Unsigned|Francoise Eichel}}
:I was so distracted that I forgot to check for correctness ^_^' -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 04:21, 3 December 2010 (UTC)
:I was so distracted that I forgot to check for correctness ^_^' -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 04:21, 3 December 2010 (UTC)
== Definition of 'frame number' ==
A definition or a link to a definition of the term 'frame number' would be very useful.
:--[[User:Kalel Venkman|Kalel Venkman]] 16:35, 29 December 2011 (PST)
::I agree. I think it's the physics frame. As [[llGetRegionFPS]] returns the number of frames in a second. "frame_number" likely returns the number of the current frame (how many physics frames have been executed since startup). You should expect this number to reset unexpectedly, as I would imagine it is reset when the simulator reboots. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 17:36, 29 December 2011 (PST)

Latest revision as of 18:36, 29 December 2011

The example needs a correction,

i'm not familiar with llGetEnv but in the given example, in the line

    llOwnerSay( "Build: " + llList2String(ver, 3) );

'ver' is used before being defined in the line following that —The preceding unsigned comment was added by Francoise Eichel

I was so distracted that I forgot to check for correctness ^_^' -- Strife (talk|contribs) 04:21, 3 December 2010 (UTC)

Definition of 'frame number'

A definition or a link to a definition of the term 'frame number' would be very useful.

--Kalel Venkman 16:35, 29 December 2011 (PST)
I agree. I think it's the physics frame. As llGetRegionFPS returns the number of frames in a second. "frame_number" likely returns the number of the current frame (how many physics frames have been executed since startup). You should expect this number to reset unexpectedly, as I would imagine it is reset when the simulator reboots. -- Strife (talk|contribs) 17:36, 29 December 2011 (PST)