Fixed getting perks/traits from the real dude_obj while controlling other NPCs.

Added "real_dude_obj" script function and updated documents.
This commit is contained in:
NovaRain
2019-05-22 12:59:27 +08:00
parent 301ccba45f
commit 2c7548f164
10 changed files with 92 additions and 41 deletions
@@ -415,6 +415,9 @@ Some utility/math functions are available:
> object sfall_func0("outlined_object")
- returns an object that is currently highlighted by hovering the mouse above it
> void sfall_func0("real_dude_obj")
- returns the initial dude_obj after taking control of other critters
> int sfall_func0("get_cursor_mode")
- returns the current cursor mode (0 - movement cursor, 1 - command cursor, 2 - targeting cursor)
- mode 4 to 10 are Skilldex skills (yellow targeting cursor)