<Value> = An object that exists in the game. Valid values are ships and stations (as well as their types), sectors and wares.
<Var/Boolean> = A TRUE or FALSE value or its representing number 1 or 0.
This command can set the discovered status of the as <Value> selected object returned by the <RetVar/IF> has <Value> been discovered-command. However, setting the discovered status of an undiscovered object to TRUE won't result in the object being visible on the sector map (and vice versa).
Example:
$sector=[PLAYERSHIP] -> get sector
$station.arr=$sector -> get station array from sector
$size= size of array $station.arr
while $size
|dec $size=
|$station=$station.arr[$size]
|set discovered status: type=$station status=[TRUE]
end
return null
This will set the discovered status of all stations in the current player sector to [TRUE].
Related Commands:
<RetVar/IF> has <Value> been discovered
Command Location:
- »» Universe and Sector Commands
set discovered status: type=<Value> status=<Var/Boolean>
TODO:
Investigate command usage again: Command just affects the encyclopedia.