Reverted the previous commit and added "obj_is_openable" function

* the previous commit conflicts with BIS document.
This commit is contained in:
NovaRain
2021-10-08 09:16:05 +08:00
parent 692e28262d
commit ac1bc19faa
9 changed files with 29 additions and 25 deletions
@@ -1048,6 +1048,11 @@ sfall_funcX metarule functions
- 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
- __NOTE:__ this function is intended for use in normal game scripts and overrides the name only once for the same object until reset
----
#### obj_is_openable
`bool sfall_func1("obj_is_openable", object obj)`
- Returns True if the object is openable (i.e. has an opening/closing animation)
****
_See other documentation files (arrays.md, hookscripts.md) for related functions reference._