RemoveScriptPackage
Revision as of 18:29, 3 December 2006 by imported>MentalElf (Add notes.)
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
Notes
Removing a script package on an actor that has no script package can cause the script to stop running on all instances of that actor.