This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
lua_tutorial [2023/04/25 19:00] – kali | lua_tutorial [2023/04/25 19:20] – kali | ||
---|---|---|---|
Line 83: | Line 83: | ||
{{ :: | {{ :: | ||
- | Now what did I do there? I simply utilized the information we learned with 3 variables and [[https://en.wikipedia.org/wiki/Concatenation|concatenated]] them together in the same string. In one simple line it demonstrates that 5 entities all have the same name, but all have different id's and distances from the Player. '' | + | local target = Player: |
+ | |||
+ | Now what did I do there? I simply utilized the information we learned with 3 variables and [[https://www.merriam-webster.com/dictionary/concatenate|concatenated]] them together in the same string. In one simple line it demonstrates that 5 entities all have the same name, but all have different id's and distances from the Player. '' | ||
===== Introducing Basic Lua Terms ===== | ===== Introducing Basic Lua Terms ===== |