42 lines
623 B
Markdown
42 lines
623 B
Markdown
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
|
|
|
|
# ESCStatement
|
|
|
|
**Extends:** [Object](../Object)
|
|
|
|
## Description
|
|
|
|
A statement in an ESC file
|
|
|
|
## Property Descriptions
|
|
|
|
### statements
|
|
|
|
```gdscript
|
|
var statements: Array
|
|
```
|
|
|
|
The list of ESC commands
|
|
|
|
## Method Descriptions
|
|
|
|
### is\_valid
|
|
|
|
```gdscript
|
|
func is_valid() -> bool
|
|
```
|
|
|
|
Check wether the statement should be run based on its conditions
|
|
|
|
### run
|
|
|
|
```gdscript
|
|
func run() -> var
|
|
```
|
|
|
|
Execute this statement and return its return code
|
|
|
|
## Signals
|
|
|
|
- signal finished(return_code): Emitted when the event did finish running
|