OnPackageDone
From GECK
This block will be run once when the scripted actor completes the specified package. Note that a package can be completed due to failure (pathfinding, or inability to Find the specified number of generic objects, or the duration has expired), unless the Must Reach Location or Must Complete flags are checked on the package.
Contents
Syntax
begin OnPackageDone PackageID begin OnPackageEnd PackageID
Example
begin OnPackageDone FollowPlayerPackage
Notes
- Certain package types, such as wanders, sleeps and eats, cannot "complete", as they have no "Done" state, so OnPackageDone will never be triggered for these package types.
See Also
- OnPackageStart
- OnPackageChange
- This blocktype is available as an Event Handler.