Library›Fighting
Is in a fight
fn/game.IsInAFight
Whether an NPC is fighting or running from somebody just now. Always no for a player.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- Listed under
- Library › Fighting
- In a file
fn/game.IsInAFight
Pins
- inwhoa character
The person.
- outfightingyes or no
Fighting.
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 fighting.graph.json.
Modding