The "vngen_get_struct" Function
Syntax#
| Argument | Type | Description |
|---|---|---|
id | real/string | The ID of the specific entity to check |
type | integer/macro | Sets which type of entity to check |
[name] | string | Optional: Sets the character name to check, if entity is an attachment |
Description#
Returns the data structure index of the specified entity of the given ID and type, or 'undefined' if the entity or type does not exist.
See Macros & Keywords for a full list of available entity types.