Skip to reading
Lua Scripting

NAVIGATION

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

NAVIGATION

Contents
Using this guide                                                                   3
Source table from NAVIGATION, page 17
Run your first Lua record4
Names, comments and quoted text5
Values, variables and constants6
Operators and decisions7
Loops that finish8
Arrays, dictionaries and the bridge9
Functions and reusable text10
Math, randomness and vectors11
Read input from an authored GUI12
Timers, parallel actions and clocks13
Edit text files and JSON14
Events and the lifetime of a record15
Send a custom event16
Live records and the calling object17
Talk, animate and stage a reveal18
Cross-language calls and includes19
Expose a Lua function as a visual node20
Inventory, quests and save slots21
Use Godot from a Lua record22
Choose where to store a value23
Read a return value24
Debugging a Lua record25
Event handlers26
Helper functions and proxy methods27
Gameplay action fields31
Designer property paths57
Page 17 of 133Permalink
Go to page