Difference between revisions of "AddScriptPackage"
Jump to navigation
Jump to search
imported>Princess stomper m (→'''Syntax''') |
imported>QQuix m (Adjusting page to standard format) |
||
| Line 1: | Line 1: | ||
'''Syntax''' |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
=='''Syntax'''== |
|||
| ⚫ | |||
== |
==Examples== |
||
AddScriptPackage MQ07BeggarToTavern |
AddScriptPackage MQ07BeggarToTavern |
||
| Line 20: | Line 19: | ||
*[[EvaluatePackage]] |
*[[EvaluatePackage]] |
||
=='''Reference'''== |
|||
[[AddScriptPackage_Reference|List of functions that use AddScriptPackage]] |
|||
Revision as of 07:11, 6 February 2011
Syntax
[ActorRefID.]AddScriptPackage PackageID:ref
Adds a script package to the calling actor. This package takes precedence over all other packages until it is done.
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