Difference between revisions of "ReloadScript"
Jump to navigation
Jump to search
imported>Plplecuyer (Created page with "Reloads the specified Papyrus script, which the game will immediately start using. ==Syntax== ReloadScript <script> ==Parameters== *Script: The script to reload. ==Examples==...") |
imported>Kicoax (Added namespace info) |
||
| Line 9: | Line 9: | ||
==Examples== | ==Examples== | ||
ReloadScript MQ101Script | ReloadScript MQ101Script | ||
ReloadScript "SomeNamespace:SomeScript" | |||
==Notes== | ==Notes== | ||
This behaves as if you had saved your game, quit, made your changes to the script, and then re-loaded your save. Except without actually requiring you to do all that. As such, it follows the same [[Save File Notes (Papyrus)|rules]] that the save/load system does. | This behaves as if you had saved your game, quit, made your changes to the script, and then re-loaded your save. Except without actually requiring you to do all that. As such, it follows the same [[Save File Notes (Papyrus)|rules]] that the save/load system does. | ||
In order to specify a script with a namespace, you must surround the script in quotes. | |||
==See Also== | ==See Also== | ||
Latest revision as of 22:09, 21 July 2016
Reloads the specified Papyrus script, which the game will immediately start using.
Syntax[edit | edit source]
ReloadScript <script>
Parameters[edit | edit source]
- Script: The script to reload.
Examples[edit | edit source]
ReloadScript MQ101Script ReloadScript "SomeNamespace:SomeScript"
Notes[edit | edit source]
This behaves as if you had saved your game, quit, made your changes to the script, and then re-loaded your save. Except without actually requiring you to do all that. As such, it follows the same rules that the save/load system does.
In order to specify a script with a namespace, you must surround the script in quotes.