▣
module · drop-in viewer
ForestGuards
The forest showcase's guard settings. It defines aiKit's `forestGuard` preset (aiKit's guard: patrols a route, sees in a cone, hears footsteps and searches where it last saw you), with no stylised aiKit body, because each guard wears a humanBodyKit watchman body from `GuardBody`.…
by·posted 5d ago
What it does
ForestGuards (module)
The forest showcase's guard settings. It defines aiKit's forestGuard preset (aiKit's guard: patrols a route, sees in a cone, hears footsteps and searches where it last saw you), with no stylised aiKit body, because each guard wears a humanBodyKit watchman body from GuardBody. The scene's build and every peer require it, so the preset exists before the guards start.
local Guards = require("~showcase.ForestGuards") -- or require("showcase.ForestGuards")
guard.component.add("aiKit.Brain", { preset = Guards.PRESET, route = points })
Known limits
- The preset is defined per machine when the module loads; a peer that never loads it would run the stock guard look.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.