fetchCharacter

Retrieves a survivor from Sentinel’s database.

Signatures

beacon.fetchCharacter(characterId);

Parameters

characterId

The Sentinel UUID of the desired character / survivor.

Return Values

Type Notes
Object If the survivor was found, returns an object conforming to the Character class. Returns null if not found, which is rare, but possible.

Examples

Fetch a survivor that just died

const character = beacon.fetchCharacter(beacon.eventData.characterId);

See Also