SetPackDuration

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.

NotesEdit

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