Skip to content

ForgetPlayerDiscovery

The player has found nothing again - the record emptied and the game told to forget.

For a mode that lets one game play more than one character: call it at each switch, then restore the new character’s record. The kinds are as SetDiscoveryTracking takes them, except that leaving them out (or nil) means every kind. The player’s game forgets them the moment the order arrives: the places found go back to unknown, the books unread, the pin and the legend’s switches go, and the map clouds over again where [ui] map_fog keeps the fog. The place the player stands in is found again as soon as they walk in or out of it.

ForgetPlayerDiscovery(pid [, kinds])
Parameter Type
pid number the player
kinds boolean | string | table | nil the kinds to forget (all of them when left out) (optional)

boolean - false for a player who is not there or when a word is no kind (nothing is forgotten then)

ForgetPlayerDiscovery(pid) -- before the next character's record is put back

SetPlayerDiscovery · GetPlayerDiscovery · the Discovery - the map and the places a player found group of the index