New *_map_enter_position functions. (#141)

Added "get/set_map_enter_position" script functions (#101)
This commit is contained in:
mr.Stalin
2018-04-27 19:35:29 +08:00
committed by NovaRain
parent b52f4544c0
commit 310d029801
7 changed files with 43 additions and 0 deletions
+3
View File
@@ -236,3 +236,6 @@
#define spatial_radius(obj) sfall_func1("spatial_radius", obj)
#define tile_refresh_display sfall_func0("tile_refresh_display")
#define unjam_lock(obj) sfall_func1("unjam_lock", obj)
#define get_map_enter_position sfall_func0("get_map_enter_position")
#define set_map_enter_position(tile, elev, rot) sfall_func3("set_map_enter_position", tile, elev, rot)
@@ -448,6 +448,10 @@ Some utility/math functions are available:
- passing 0 will disable the auto unjam mechanism completely
- The auto unjam mechanism will be reset each time the player reloads the game
> array sfall_func0("get_map_enter_position")
> void sfall_func3("set_map_enter_position", int tile, int elevation, int rotation)
------------------------
------ MORE INFO -------
------------------------