Talk:SetPackDuration

Active discussions

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

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)

Return to "SetPackDuration" page.