Home
Documents
Appendices

APPENDIX 2 - CCL SYSTEM VARIABLES

The following is a list of ail CCL System Variables. Feel free to use them, but remember that they cannot be altered or used as labels.
  • AllyCode
  • AllyDir
  • AllyDist
  • AllyEnemyDir
  • AllyEnemyDist
  • AllyEnemyX
  • AllyEnemyY
  • AllyHQX
  • AllyHQY
  • AllyNum
  • AllyX
  • AllyY
  • ArmorDamage
  • CopyCode
  • CopyDir
  • CopyDist
  • CopyEnemyDir
  • CopyEnemyDist
  • CopyEnemyX
  • CopyEnemyY
  • CopyNum
  • CopyX
  • CopyY
  • EnemyDist
  • EnemyHQDist
  • EnemyHQX
  • EnemyHQY
  • EnemyX
  • EnemyY
  • FuelLevel
  • IntDamage
  • KitsLeft
  • ObjDist
  • ObjType
  • ObjX
  • ObjY
  • ObstacleDist
  • ObstacleType
  • ObstacleX
  • ObstacleY
  • RandomNum
  • RemotesLeft
  • ScanDamage
  • ScanDir
  • TankDir
  • TankNum
  • TankX
  • TankY
  • TreadDamage
  • WeapDamage
  • XYDist
The following are complete descriptions of the system variables.
AllyCode Code transmitted by team member. This value ranges from 0-100.
 
AllyDir The last direction heading of a transmitting team member.
 
AllyDist The distance between the transmitting and the receiving team members.
 
AllyEnemyDir The direction heading of an enemy cybertank last scanned by the transmitting team member.
 
AllyEnemyDist The distance to the enemy cybertank as it was last scanned by the transmitting team member.
 
AllyEnemyX The enemy cybertank’s X coordinate as last scanned by transmitting team member: This value ranges from 1 to 62.
 
AllyEnemyY The enemy cybertank’s Y coordinate as last scanned by transmitting team member. This value ranges from 1 to 62.
 
AllyHQX X coordinate of your cybertank’s team headquarters.
 
AllyHQY Y coordinate of your cybertank’s team headquarters.
 
AllyNum The identification number of the transmitting team member. Cybertank identification numbers are based on the order in which they were selected in the Simulation Design Module.
 
AllyX The X coordinate of the transmitting team member.
 
AllyY The Y coordinate of the transmitting team member.
 
ArmorDamage This is the current armor damage percentage. ArmorDamage value ranges from 0 (fully intact) to 100 (destroyed). When ArmorDamage reaches 100, the cybertank is destroyed.
 
CopyCode Holds a copy of AllyCode when Copy Commlink Data command is executed.
 
CopyDir Holds a copy of AllyDir when Copy Commlink Data command is executed.
 
CopyDist Holds a copy of AllyDist when Copy CommLink Data command is executed.
 
CopyEnemyDir Holds a copy of AllyEnemyDir when Copy CommLink Data command is executed.
 
CopyEnemyDist Holds a copy of AllyEnemyDist when Copy CommLink Data command is executed.
 
CopyEnemyX Holds a copy of AllyEnemyX when Copy CommLink Data command is executed.
 
CopyEnemyY Holds a copy of AllyEnemyY when Copy CommLink Data command is executed.
 
CopyNum Holds a copy of AllyNum when Copy Commlink Data command is executed.
 
CopyX Holds a copy of AllyX when Copy CommLink Data command is executed.
 
CopyY Holds a copy of AllyY when Copy CommLink Data command is executed.
 
EnemyDist The distance between your cybertank and the last scanned enemy cybertank.
 
EnemyHQDist This is the distance between your cybertank and the enemy headquarters -- unknown to your cybertank until either found by scanning or transmitted by a team member.
 
EnemyHQX The X coordinate of the enemy headquarters -- unknown to your cybertank until either found by scanning or transmitted by a team member.
 
EnemyHQY The Y coordinate of the enemy headquarters -- unknown to your cybertank until either found by scanning or transmitted by a team member.
 
EnemyX The enemy cgbertank’s X coordinate at last scanned position.
 
EnemyY The enemy cybertank’s Y coordinate at last scanned position.
 
FuelLevel Amount of remaining fuel. This value ranges from 0 (empty) to 100 (full).
 
IntDamage Current damage percentage of your cybertank’s internal mechanisms. Ranges from 0 (fully intact) to 100 (destroyed). When this value reaches 100, the cybertank is terminated.
 
KitsLeft The number of repair kits remaining.
 
ObjDist The distance between your cybertank and the last scanned object.
 
ObjType The type of object last scanned (see Appendix 3 for list of possible values).
 
ObjX X coordinate of the last scanned object. This value ranges from 1 to 62.
 
ObjY Y coordinate of the last scanned object. This value ranges from 1 to 62. 
 
ObstacleDist The distance between your cgbertank and the last movement obstacle detected. This value ranges from 0 to 3.
 
ObstacleType The type of movement obstacle last detected (see Appendix 3 for list of possible values).
 
ObstacleX X coordinste of the last detected movement obstacle. This value ranges from 1 to 62.
 
ObstacleY Y coordinate of the last detected movement obstacle. This value ranges from 1 to 62.
 
RandomNum Holds the random value generated by the Get Random [to #] command.
 
RemotesLeft The number of remaining remote scanners.
 
ScanDamage Current damage percentage of your cybertank’s scanner. Ranges from 0 (fully intact) to 100 (destroyed). A cybertank is still operational with a destroyed scanner, but it cannot scan.
 
ScanDir The direction the scanner is currently facing. This value ranges from 0 to 7.
 
TankDir The direction your cybertank is currently facing. This value ranges from 0 to 7.
 
TankNum This Is the number of your cybertank. Cybertank numbers are based on the order they were selected in the SDM.
 
TankX Your cybertank’s current X coordinate.
 
TankY Your cybertank’s current Y coordinate.

 
TreadDamage Current damage percentage of your cybertank’s treads. This value ranges from 0 (fully intact) to 100 (destroyed). The cybertank still operates with destroyed treads, but it cannot move.
 
XYDist This holds the distance between your cybertank and the specified coordinate as calculated by the command Get Distance to “X” “Y”.
 
WeapDamage Current damage percentage of your cybertank’s weapon. This value ranges from 0 (fully intact) to 100 (destroyed). The cybertank Is still operational with a destroyed weapon, but it cannot fire.

Toadstool's Home | Contact © 2003 Toadstool's Game Shrines. All Rights Reserved.