Difference between revisions of "OnPackageChange"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Ecaponi
 
imported>JOG
(Moved to "Category: Blocktypes")
 
Line 10: Line 10:
==See Also==  
==See Also==  
[[OnPackageDone]]  
[[OnPackageDone]]  
[[Category: Commands]]
[[Category: Blocktypes]]

Latest revision as of 02:57, 26 May 2006

Syntax:

 begin OnPackageChange PackageID 

Example:

 begin OnPackageChange FollowPlayerPackage 

This block will be run once when the scripted actor changes from the specified package to some other package. Note that "interrupt" packages like combat or conversation do not trigger this block, since they only temporarily replace the current package.

Note that this block is only triggered if the actor chooses a different package. If the specified package completes, but the actor evaluates to this package again, OnPackageChange will NOT be triggered.

See Also[edit | edit source]

OnPackageDone