Difference between revisions of "SetPackDuration"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>ZuTheSkunk
m
 
(6 intermediate revisions by 6 users not shown)
Line 2: Line 2:
  SetPackDuration ''iDuration''
  SetPackDuration ''iDuration''
'''Example:'''  
'''Example:'''  
  SetPackDuration 2.0
  SetPackDuration 2


Sets the duration of the actor's current package to iDuration (in minutes of gametime). This is useful for situations where you want a package to run for less than an hour.
Sets the duration of the actor's current package to iDuration (in seconds of gametime). This is useful for situations where you want a package to run for less than an hour.
 
==Notes==
* This function will not work properly if the Timescale global value does not equal 30.




[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: AI Functions]]
[[Category: AI Functions]]
[[Category: AI Functions (CS 1.0)]]
[[Category:Actor Functions]]
[[Category:Actor Functions (CS 1.0)]]
<!-- Begin Search Terms
Set
Pack
Package
Duration
End Search Terms -->

Latest revision as of 05:09, 15 June 2012

Syntax:

SetPackDuration iDuration

Example:

SetPackDuration 2

Sets the duration of the actor's current package to iDuration (in seconds of gametime). This is useful for situations where you want a package to run for less than an hour.

Notes[edit | edit source]

  • This function will not work properly if the Timescale global value does not equal 30.