checkEntityAuthority
checkEntityAuthority(
authority,entity,outcome):World
Checks authority for an outcome on entity and returns its world:
throws where the authority is over another world, or over another
entity, since no type can tie an authority to an entity, and where the
entity is on a page in a room and the authority is no page’s own. A
join hook’s step passes for the joining player and what her join
spawned. What a game’s or a kit’s own verb on one entity, such as
setTeam, checks first, as the engine’s verbs do.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
authority |
EntityAuthority |
entity |
Entity |
outcome |
string |
Returns
Section titled “Returns”World