Modding
Discord Wishlist on Steam

Library›Fighting

Health in percent

fn/game.HealthPercent

How much health somebody has left, from 0 to 100.

Health in percentwhopercent
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.HealthPercent

Pins

  • inwhoa character

    The person.

  • outpercenta number

    0 to 100.

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.

StartallwhoHealth ofwhohealthmostExpressionhealth / max(most, 1) * 100healthmost= numberReturnpercent
Health in percent

Built from