Library›Places
Spawn a band against
fn/game.SpawnBandAgainst
Makes a band of a kit on a side round a place and sets every one of them on somebody - an ambush on the player, say.
- Does
- An action: done when the run reaches it
- Runs
- On every machine
- Listed under
- Library › Places
- In a file
fn/game.SpawnBandAgainst
Pins
- inkittext
The kit: brigand, peasant, militia, knight...
Starts as
brigand - insidea choice
Bandit, Soldier, Civilian, Player or Neutral.
Starts as
Bandit - incounta whole number
How many.
Starts as
4 - inata position
The place.
- inmetresa number
How far round it, in metres.
Starts as
4 - intargeta character
Whom.
- outbanda list
The people made.
How it is made
Its body, as the bench opens it read-only. Copy into my mod on the bench makes a copy to change. The library's file is places.graph.json.
Built from
- Spawn a band
fn/game.SpawnBandMakes so many people of a kit (brigand, peasant, militia, knight...) on a side, at places picked by chance round a place, and gives them back as a list. - All attack
fn/game.AllAttackSets every NPC in a list on somebody - a band set on the player, say - whatever their side would think of them.
Modding