Difference between revisions of "AddScriptPackage"
Jump to navigation
Jump to search
imported>DragoonWraith (CS 1.0) |
imported>Fella |
||
| Line 26: | Line 26: | ||
[[Category: Functions]] |
[[Category: Functions]] |
||
[[Category:Functions (CS)]] |
|||
[[Category: Functions (CS 1.0)]] |
[[Category: Functions (CS 1.0)]] |
||
[[Category: AI Functions]] |
[[Category: AI Functions]] |
||
Revision as of 11:15, 23 January 2008
Description
Add a script package to the calling actor. This package takes precedence over all other packages until it is done.
Syntax
[ActorID.]AddScriptPackage PackageID
Examples
AddScriptPackage MQ07BeggarToTavern
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