Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

EvalRgnOwnerKind

From AGEWiki

Jump to: navigation, search

EvalRgnOwnerKind

Syntax  

EvalRgnOwnerKind = <FactionKind> [;<NOT>]

Description

Evaluates the Faction Kind owning a region. Assumes that a region is already selected.

Faction Kind is defined in the Faction Database.

Faction Kinds may be [from PON/VGN]

$fkOrganizedNation = 0
$fkOrganizedMinor = 1
$fkUnstableNation = 2
$fkTribalNation = 3

Example  

EvalRgnOwnerKind = $fkTribalNation;NOT

Returns TRUE if the owner of the currently selected region is not a TribalNation faction


 

Parameters

<FactionKind>

Valid Alias for a Faction Kind

[;<NOT>]

Reverses the logic, returns TRUE if the owner is NOT of the kind stated

Forums