Looking for info on the NEXUS faction in the game? It's in the Warzone Encyclopaedia
NEXUS.suffix_SitRep.js
- Aubergine
Suffixes
(no suffix)
If no object is passed in, or the object doesn't have a .player property, no suffix will be added.
.Player
The object belongs to the selectedPlayer.
.Ally
The object belongs to an ally of the selectedPlayer.
.Scav
The Scavenger faction, as defined by scavengerPlayer.
.Enemy
The object belongs to an enemy of the selectedPlayer.
Does NOT include Scavengers.
.Map
The object is a map feature (tree, rock, etc) owned by player 99.
Does NOT include collectible items (see below).
.Item
Ar collectible item (oil drum, artefact) owned by player 21.
.<id>
If the object belongs to some other player (unlikey) the player ID will be used as the faction, eg. if the player ID was 87 the suffix would be ".87".
It's not suitable for AIs so for those use the NEXUS.suffix.js subroutine instead.
Contents
Assimilate:
Subroutines
Absorb:
- NEXUS.suffix_SitRep.js — An extended suffix subroutine ideal for situation reporting in custom skirmish/MP game rules.
- NEXUS.suffix.js — My standard object suffix will clearly indicate what is to be absorbed or neutralised.
Memory Banks
Observe:
- Classify Subroutines — Generates an "Object Key".
- Fn Subroutines — Shared helper functions.
- Infiltrate Subroutines — Hook in to external events and functions.
- Process Subroutines — Process an "Action Object".
- Suffix Subroutines — Add a suffix to Task IDs.