Kiliax
Scout
- Joined
- Jul 30, 2026
- Messages
- 17
- Points
- 13
Kiliax submitted a new resource:
Map Scenario Unit Spawning - How to Set Unit Spawns for Maps
Read more about this resource...
Map Scenario Unit Spawning - How to Set Unit Spawns for Maps
# Spawning units from a per-map Lua script
**Build:** Sanctuary: Shattered Sun Demo, verified 2026-08-28 against `engine/LJ/lua/` source and live in-game tests.
This is the complete, working method for spawning units on your own map from Lua. Every claim here is either a line of engine source or a live in-game observation. Line numbers refer to files under `<game>/engine/LJ/lua/`.
There are about six ways to get this wrong, and every one of them fails **silently** — no error, no log...
Read more about this resource...