Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

reportSystemFailure

reportSystemFailure(world, systemFailureOptions): void

Reports that a call a system made cannot do what was asked, naming the system that called it: in a development world it throws message, and in a deployed one, which keeps running for every player, it logs the message once per key and returns, so the caller answers its refusal. What applyForce, castRay and checkCost report a wrong body, a ray that points nowhere or a resource nobody defined with. As Unreal’s ensure, which reports and goes on.

Parameter Type
world World
systemFailureOptions SystemFailureOptions

void