Skip to content

heroFromRecord beta ​

Function of @v12-engine/engine

ts
export declare function heroFromRecord(world: World, record: HeroRecord, owner: PlayerId, at: Vec2, options?: SpawnOptions): Entity;

A hero made from a record (see heroRecord) for a player at a point, under the name it had unless told another