AddScriptPackage

From the CreationKit Wiki
Revision as of 17:08, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description[edit | edit source]

Add a script package to the calling actor. This package takes precedence over all other packages until it is done.

Syntax[edit | edit source]

[ActorRefID.]AddScriptPackage PackageID

Examples[edit | edit source]

AddScriptPackage MQ07BeggarToTavern

Notes[edit | edit source]

  • 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[edit | edit source]