Difference between revisions of "AddScriptPackage"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
imported>Scruggs
Line 1: Line 1:
=='''Description'''==
=='''Description'''==


Add a script package to the calling actor. This package takes precedence over all other packages until it is done. Note that 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.
Add a script package to the calling actor. This package takes precedence over all other packages until it is done.


=='''Syntax'''==
=='''Syntax'''==
Line 11: Line 11:
AddScriptPackage MQ07BeggarToTavern
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==
==See Also==

Revision as of 22:02, 23 September 2006

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

RemoveScriptPackage


Reference

List of functions that use AddScriptPackage (wiki)