Constantly updated gamevars: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
These are [[gamevar]]s which are defined as direct pointers to internal variables in the game.  While some will change frequently, others will remain static for the whole game.  Please note that the values of most of these variables will be different on each peer, so you must not rely on them for anything that could possibly have an effect on sync.  As such, these variables are ''only'' for use within local events such as those which allow you to display tiles on the screen. See also [[Pre-defined gamevars]].
These are [[gamevar]]s which are defined as direct pointers to internal variables in the game.  While some will change frequently, others will remain static for the whole game.  Please note that the values of most of these variables will be different on each peer, so you must not rely on them for anything that could possibly have an effect on sync.  As such, these variables are ''only'' for use within local events such as those which allow you to display tiles on the screen. See also [[Pre-defined gamevars]].


The "Current actor or player" group of commands point to the current actor/player. The other ones point to internal and usually global variables.
The "Current actor or player" group of variables point to the current actor/player. The other ones point to internal and usually global variables.


<strong>Do not attempt to redefine these or you will have problems.</strong>
<strong>Do not attempt to redefine these or you will have problems.</strong>

Revision as of 04:59, 9 April 2008

These are gamevars which are defined as direct pointers to internal variables in the game. While some will change frequently, others will remain static for the whole game. Please note that the values of most of these variables will be different on each peer, so you must not rely on them for anything that could possibly have an effect on sync. As such, these variables are only for use within local events such as those which allow you to display tiles on the screen. See also Pre-defined gamevars.

The "Current actor or player" group of variables point to the current actor/player. The other ones point to internal and usually global variables.

Do not attempt to redefine these or you will have problems.

Map

Multiplayer

Current actor or player


Video and misc

Camera


Player position


Player properties