mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Reverted the previous commit and added "obj_is_openable" function
* the previous commit conflicts with BIS document.
This commit is contained in:
@@ -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._
|
||||
|
||||
Reference in New Issue
Block a user