Does the issue occur in the editor or during gameplay?
In the editor
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
N/A
Briefly describe the issue you're experiencing:
When saving a script whose last line is an invalid set_entity_offset, the editor terminates without warning.
Are there any errors in the in-game debug console or external console window?
No console is visible
Provide the steps necessary to reproduce the issue:
- Extract the linked project, load it and open the "bug" script in the visual editor.
- In the rightmost node (Source Code "set_entity_offset") change the code to: "set_entity_offset($new_tile.objects[0], 0, 0, 0, 1)"
- Try to save the script.
- The editor terminates.
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):
http://enigmadream.com/misc/riab_bug.zip