MISSING SCRIPT PROPERTIES
- these are properties that set or get something that is already implemented
in the engine, but just does not have means to know its value or change it in script.
Please help gather a list of such properties, grouped by object type. In many cases that would be super-simple to add readonly properties (ones that can tell you certain value). Changeable properties are less easy, because they often require to add values to savegame, but they are also should be mentioned.
NOTE: this relates to only things that are already
in AGS, not completely new features.
* you can set a property in the Editor, but cannot read or set it in script;
* there is a script function that changes object's state, but no way to get what current state is.
Such list will be very useful, because engine contributors get reminded about them only once in a while, and these requests got forgotten in the presence of more critical tasks.
I would like to make a table in the first post, which lists the required properties, and status of their implementation.
|Animating||bool, readonly||from Animate()|
|Frame||int, readonly||from Animate()|
|Loop||int, readonly||from Animate()|
|View||int, readonly||from Animate()|
|FollowedCharacter||Character*, readonly||from FollowCharacter()|
|Mouse||*alternatively make new static CursorModes struct|
|Frame||bool, readonly||current animation frame (if any)|
|ModeAnimated||bool, readonly?||array property, get/set whether particular cursor is animated|
|ModeView||int||array property, get/set VIEW for the mode|
|ModeHotspotX||int||array property, get/set hotspot X for the mode|
|ModeHotspotY||int||array property, get/set hotspot Y for the mode|