Looking for info on the NEXUS faction in the game? It's in the Warzone Encyclopaedia

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

An extended suffix subroutine ideal for situation reporting in custom skirmish/MP game rules.

 

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".

You can only have one suffix subroutine per NEXUS instance.
This suffix subroutine is designed for use in Game Rules scripts.

It's not suitable for AIs so use the NEXUS.suffix.js subroutine for those. 

Contents

Assimilate:

Subroutines

Absorb:

  • NEXUS.suffix_SitRep.jsAn extended suffix subroutine ideal for situation reporting in custom skirmish/MP game rules.
  • NEXUS.suffix.jsMy standard object suffix will clearly indicate what is to be absorbed or neutralised.

Memory Banks

Observe:

 

  • No labels