RemoveScriptPackage

From the Oblivion ConstructionSet Wiki
Revision as of 06:18, 27 May 2006 by imported>JOG
Jump to navigation Jump to search

Description

Removes the currently running script package from the calling actor. Only necessary if you added a script package which was set to run indefinitely.


Syntax

RemoveScriptPackage


Example

(Out of MS45DarMaScript)

if getiscurrentPackage MS45DarMaPrisonerGreetPlayer == 1
  If getinsamecell player == 0
    removescriptpackage
  endif
endif

See Also

AddScriptPackage