Difference between revisions of "Talk:SetPackDuration"
imported>JT |
imported>Cbh (→Minutes or seconds?: seconds, apparently) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
The example is in floating point, but the Hungarian notation (hiss) suggests that the variable is an integer. Which is correct? --[[User:JT|JT]] 14:51, 22 May 2006 (EDT) | The example is in floating point, but the Hungarian notation (hiss) suggests that the variable is an integer. Which is correct? --[[User:JT|JT]] 14:51, 22 May 2006 (EDT) | ||
=== Minutes or seconds? === | |||
Could anybody clarify the units of time used by this function? Its page says minutes, but based on observation with timescale set to 1, it appears to actually be seconds. That said, I've been using it with addscriptpackage so something may well be making it reevaluate early, but I'm not entirely convinced it's using game minutes. | |||
As for the float vs. int confusion, I've tried both; it doesn't seem to have a lot of effect on its behaviour. --[[User:Cbh|Cbh]] 20:16, 4 May 2009 (EDT) | |||
Further to the above, based on both my observation it appears to be in seconds, which is supported by the comments in the script example [[A beginner's guide, lesson 5 - Anatomy of a quest, part 2#Stage 88|here]]. I've changed the page accordingly, but if anybody knows better, please do correct it! --[[User:Cbh|cbh]] 14:48, 6 May 2009 (EDT) |
Latest revision as of 13:48, 6 May 2009
The example is in floating point, but the Hungarian notation (hiss) suggests that the variable is an integer. Which is correct? --JT 14:51, 22 May 2006 (EDT)
Minutes or seconds?[edit source]
Could anybody clarify the units of time used by this function? Its page says minutes, but based on observation with timescale set to 1, it appears to actually be seconds. That said, I've been using it with addscriptpackage so something may well be making it reevaluate early, but I'm not entirely convinced it's using game minutes.
As for the float vs. int confusion, I've tried both; it doesn't seem to have a lot of effect on its behaviour. --Cbh 20:16, 4 May 2009 (EDT)
Further to the above, based on both my observation it appears to be in seconds, which is supported by the comments in the script example here. I've changed the page accordingly, but if anybody knows better, please do correct it! --cbh 14:48, 6 May 2009 (EDT)