custom-building-function
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
custom-building-function [2022/04/29 20:44] – minotorious | custom-building-function [2022/04/30 19:23] (current) – minotorious | ||
---|---|---|---|
Line 31: | Line 31: | ||
For example below we set up a function that upon activation logs its properties and upon reload executes a back-call to its activation function. | For example below we set up a function that upon activation logs its properties and upon reload executes a back-call to its activation function. | ||
<code lua> | <code lua> | ||
- | function | + | function |
mod: | mod: | ||
mod: | mod: | ||
mod: | mod: | ||
+ | | ||
+ | return true | ||
end | end | ||
- | function | + | function |
self: | self: | ||
end | end |
custom-building-function.1651279453.txt.gz · Last modified: 2022/04/29 20:44 by minotorious