Meta_EventScript
Module: Metanodes / Definitions
An EventScript is attached to a Meta_EventHandler, and contains Lua script to execute when the event is triggered.
#include <meta_importables.hpp>
Public Types
| Type | Name |
|---|---|
| enum | IDX { Idx_Code, Idx_ErrorText, Idx_ErrorLine, Idx_UserSystem, Idx_SystemDocument } Property index. |
Public Functions
| Type | Name |
|---|---|
| void | AddSystemDoc(HMigration ) |
Public Types Documentation
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_Code | string - The script code | |
| Idx_ErrorText | string - If execution results in an error, the error message is stored here | |
| Idx_ErrorLine | int - If execution results in an error, the line number that the error occurred on is stored here (if available) | |
| Idx_UserSystem | bool - Specifies that the script is part of the application rather than scene, so should persist between scenes | |
| Idx_SystemDocument | Internal. |
Property index.
Public Functions Documentation
AddSystemDoc
static void AddSystemDoc(
HMigration
)