Difference between revisions of "AddScriptPackage"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-Link to TES4 Construction Set Wiki +{{Incomplete}}\n\nLink to TES4 Construction Set Wiki)) |
imported>PoHa! (Copied info from CS Wiki; removed incomplete tag) |
||
Line 1: | Line 1: | ||
=='''Description'''== | |||
Add a script package to the calling actor. This package takes precedence over all other packages until it is done. | |||
=='''Syntax'''== | |||
[''ActorRefID''.]AddScriptPackage ''PackageID'' | |||
=='''Examples'''== | |||
AddScriptPackage GenericTravelOnActivate | |||
==Notes== | |||
* An actor can have only one script package at a time. When calling the function twice on the same actor, the second package replaces the first one added. | |||
* Unless the added package has some constraint on it ("must complete" and/or "must reach location"), it will be removed the next time the actor reevaluates his package. | |||
==See Also== | |||
*[[RemoveScriptPackage]] | |||
*[[EvaluatePackage]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:AI Functions]] | [[Category:AI Functions]] |
Revision as of 23:57, 2 April 2009
Description
Add a script package to the calling actor. This package takes precedence over all other packages until it is done.
Syntax
[ActorRefID.]AddScriptPackage PackageID
Examples
AddScriptPackage GenericTravelOnActivate
Notes
- An actor can have only one script package at a time. When calling the function twice on the same actor, the second package replaces the first one added.
- Unless the added package has some constraint on it ("must complete" and/or "must reach location"), it will be removed the next time the actor reevaluates his package.