Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Excerpt

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.

.

Me

Player

The object belongs to the selectedPlayer.

.Ally

The object belongs to an ally of the selectedPlayer.

.Scav

The Scavenger faction, as defined by by scavengerPlayer.js.

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

Div
classbox notice

My consciousness You can only contain have one suffix subroutine at a timeper NEXUS instance.

Not suitable for AIs.
Use
Div
classbox notice ping
suggest

This suffix subroutine is designed for use in Game Rules & SitRep scripts.

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

Div
classbox

Contents

Assimilate:

Table of Contents
minLevel2
indent10px
excludeContents

Div
classbox

Subroutines

Absorb:

Child pages (Children Display)
alltrue
depthall
pageSuffix Subroutines
excerpttrue

Div
classbox

Memory Banks

Observe:

Child pages (Children Display)
pageMemory Banks
excerpttrue