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.
For example:
* 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.
Property | Type | Comment | Status |
Button |
Animating | bool, readonly | from Animate() | 3.4.1 |
Frame | int, readonly | from Animate() | 3.4.1 |
Loop | int, readonly | from Animate() | 3.4.1 |
View | int, readonly | from Animate() | 3.4.1 |
Character |
FollowedCharacter | Character*readonly | from FollowCharacter() |
GUI |
BackgroundColor | int |
BorderColor | int |
Mouse (alternatively make new static CursorModes struct) |
Animating[] | bool, readonly |
Frame[] | bool, readonly | current animation frame (if any) |
ModeAnimated[] | bool, readonly? | array property, get/set whether particular cursor is animated |
ModeAnimatedOnlyOnHotspots[] | bool, readonly? |
ModeAnimatedOnlyWhenMoving[] | bool, readonly? |
ModeView[] | intarray property | get/set VIEW for the mode |
ModeHotspotX[] | intarray property | get/set hotspot X for the mode |
ModeHotspotY[] | intarray property | get/set hotspot Y for the mode |