Difference between revisions of "VisionaireObject Commands"
From The Official Visionaire Studio: Adventure Game Engine Wiki
| Line 21: | Line 21: | ||
|- | |- | ||
| [[VisionaireObject Command: getBool|getBool]] | | [[VisionaireObject Command: getBool|getBool]] | ||
| + | | | ||
| + | |- | ||
| + | | [[VisionaireObject Command: getFloat|getFloat]] | ||
| | | | ||
|- | |- | ||
| Line 26: | Line 29: | ||
| | | | ||
|- | |- | ||
| − | | [[VisionaireObject Command: | + | | [[VisionaireObject Command: getId|getId]] |
| | | | ||
|- | |- | ||
| − | | [[VisionaireObject Command: | + | | [[VisionaireObject Command: getInt|getInt]] |
| | | | ||
|- | |- | ||
| Line 35: | Line 38: | ||
| | | | ||
|- | |- | ||
| − | | [[VisionaireObject Command: | + | | [[VisionaireObject Command: getLink|getLink]] |
| | | | ||
|- | |- | ||
| [[VisionaireObject Command: getLinks|getLinks]] | | [[VisionaireObject Command: getLinks|getLinks]] | ||
| − | |||
| − | |||
| − | |||
| | | | ||
|- | |- | ||
| Line 51: | Line 51: | ||
|- | |- | ||
| [[VisionaireObject Command: getParent|getParent]] | | [[VisionaireObject Command: getParent|getParent]] | ||
| + | | | ||
| + | |- | ||
| + | | [[VisionaireObject Command: getPath|getPath]] | ||
| | | | ||
|- | |- | ||
| Line 56: | Line 59: | ||
| | | | ||
|- | |- | ||
| − | | [[VisionaireObject Command: | + | | [[VisionaireObject Command: getPoint|getPoint]] |
| | | | ||
|- | |- | ||
| Line 62: | Line 65: | ||
| | | | ||
|- | |- | ||
| − | | [[VisionaireObject Command: | + | | [[VisionaireObject Command: getRect|getRects]] |
| | | | ||
|- | |- | ||
| Line 68: | Line 71: | ||
| | | | ||
|- | |- | ||
| − | | [[VisionaireObject Command: | + | | [[VisionaireObject Command: getSprite|getSprite]] |
| | | | ||
|- | |- | ||
| − | | [[VisionaireObject Command: | + | | [[VisionaireObject Command: getSprite|getSprites]] |
| − | |||
| − | |||
| − | |||
| | | | ||
|- | |- | ||
Revision as of 19:42, 11 August 2023
This is a list of methods and fields supported on a Visionaire Object (TVisObj).
Methods
Fields
| Field Name | Type | Description |
|---|---|---|
| id | int | The internal id of the object (read-only). |
| name | string | The internal name of the object as defined in the editor (read-only). Not to be confused with the "Name" property (with capitalized "N") which is available for some objects and contains the multi-language object name used in the game. |
| parent | TVisObj | Returns the parent object (read-only). |
| tableId | int | The id of the data structure table the object is part of (read-only). |
| property | mixed | All properties/fields of a VisionaireObject are available through their names. |