Skip to content

useObject beta ​

Function of @v12-engine/engine

ts
export declare function useObject(world: World, user: Entity, object: Entity): boolean;

Uses a ground object (UnitTypeDef.use), as the useObject order does once there: its ability goes off, the user its target, and it is gone after its times. False where it is no such thing, or not for this one