Difference between revisions of "RemoveScriptPackage"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>JOG
Line 1: Line 1:
=='''Description'''==
Removes any currently running script package from the calling actor. Only necessary if you added a script package which was set to run indefinitely.
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==
==See Also==

Revision as of 06:18, 27 May 2006

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