Added loading sfall.dat resource file

* localized sfall_XX.dat is also supported.

Minor code refactoring in ScriptExtender.cpp.
Minor edit to sfall function notes.
This commit is contained in:
NovaRain
2021-10-06 21:28:12 +08:00
parent 5c1cccae8f
commit 4137e6e977
6 changed files with 33 additions and 11 deletions
+1 -2
View File
@@ -969,8 +969,7 @@ sfall_funcX metarule functions
- Overrides the name of the script object that was set from **scrname.msg**
- The changed name will be reset each time the player leaves the map or reloads the game
- Passing an empty string ("") to the `name` argument or omitting it will allow the game to get the name for the object from pro_*.msg files
- The function can override the name only once for the same object until reset
- __NOTE:__ this function is intended for use in normal game scripts
- __NOTE:__ this function is intended for use in normal game scripts and overrides the name only once for the same object until reset
****