OnPackageChange
From GECK
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.
Contents
Syntax
begin OnPackageChange PackageID
Example
begin OnPackageChange FollowPlayerPackage
Notes
- 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
- OnPackageStart
- OnPackageDone
- This blocktype is available as an Event Handler.