Revert "Merge branch 'were_engineers_not_salt_miners' into 'master'"

This reverts merge request !4178
This commit is contained in:
psi29a 2024-06-25 20:58:31 +00:00
parent 8471cfb576
commit 6754b8d941
13 changed files with 55 additions and 123 deletions

View file

@ -58,16 +58,6 @@ Engine handler is a function defined by a script, that can be called by the engi
- Object is activated by an actor.
* - onNewExterior(cell)
- A new exterior cell not defined by a content file has been generated.
* - onGlobalScriptRequested(script, started, target)
- | A `StartScript` was called.
| Note that this affects `Start Scripts` defined by content files, as well as calls to the MWScript function `StartScript`.
| This does not necessarily indicate the script in question is actually being started, as there may (presently)
| only be a single instance of a global script at a time.
| This can potentially be used to override vanilla functionality, such as:
| ``if script.recordId == 'dbattackscript' then script.variables.sleeponce = 1 end``
| The `target` and `script.object` fields may be different.
| If `started` is true then refer to `script.object`, otherwise the `target`, if present, represents what the `startscript` call is actually targeted at. For example:
| ``if started and script.object then print(script.object.recordId) elseif target then print(target.recordId) end``
**Only for local scripts**