Looking for info on the NEXUS faction in the game? It's in the Warzone Encyclopaedia
NEXUS.suffix.js
Owned by Aubergine
My standard object suffix will clearly indicate what is to be absorbed or neutralised.
Faction suffixes
(no suffix)
If no object is passed in, or the object doesn't have a .player property, no suffix will be added.
.Me
The object belongs to me.
.Ally
The object belongs to an ally of me.
.Enemy
The object belongs to an enemy of me.
Scavenger faction is treated as an enemy.
.Map
The object is a map feature (tree, rock, etc) or collectible item (oil drum, artefact).
.<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".
You can only use one suffix subroutine per NEXUS instance.
This suffix subroutine is designed for use in AIs.
If you're working on a Game Rules & SitRep script, use NEXUS.suffix_SitRep.js instead.
If you're working on a Game Rules & SitRep script, use NEXUS.suffix_SitRep.js 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.