Added "set_town_title" script function

* for displaying custom title in floating text over a town.

Corrected some code.
This commit is contained in:
NovaRain
2020-01-25 15:47:57 +08:00
parent 869b3cf4bd
commit 863a232703
14 changed files with 199 additions and 87 deletions
@@ -710,6 +710,10 @@ int sfall_func2("get_window_attribute", int winType, int attrType)
- winType: the type number of the interface window (see WINTYPE_* constants in sfall.h)
- attrType: 0 - X position, 1 - Y position (relative to the top-left corner of the game screen)
> void sfall_func2("set_town_title", int areaID, string title)
- sets a floating text for a town on the world map when hovering the cursor over the player's marker
- areaID: the ID number of the town from city.txt
------------------------
------ MORE INFO -------
------------------------