Difference between revisions of "AddScriptPackage"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Ez0n3
Line 1: Line 1:
=='''Description'''==
{{Function
 
|CSWikiPage = AddScriptPackage
Add a script package to the calling actor.  This package takes precedence over all other packages until it is done.
|origin = GECK1
 
|summary = Add a script package to the calling actor.  This package takes precedence over all other packages until it is done.
=='''Syntax'''==
|name = AddScriptPackage
 
|returnType = void
  [''ActorRefID''.]AddScriptPackage ''PackageID''
  |referenceType = [ActorRefID]
 
|arguments =
=='''Examples'''==
  {{FunctionArgument
 
  |Name = PackageID
  AddScriptPackage GenericTravelOnActivate
  }}
  |example = AddScriptPackage GenericTravelOnActivate
}}


==Notes==
==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.
* 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.
* 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.


Line 19: Line 20:
*[[RemoveScriptPackage]]
*[[RemoveScriptPackage]]
*[[EvaluatePackage]]
*[[EvaluatePackage]]
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/AddScriptPackage AddScriptPackage]


[[Category:Functions]]
[[Category:Functions]]

Revision as of 00:48, 13 January 2011

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: AddScriptPackage.

A function included in the GECK version 1.1.0.36.

Description

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

Syntax

[help]
[ActorRefID].AddScriptPackage PackageID

Example

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