Difference between revisions of "RemoveScriptPackage"
Jump to navigation
Jump to search
imported>JOG |
imported>MentalElf (Add notes.) |
||
| Line 15: | Line 15: | ||
endif |
endif |
||
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. |
|||
==See Also== |
==See Also== |
||
Revision as of 18:29, 3 December 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
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.