Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Function: getRCoord (Moved to ED & ACCEPTED)  (Read 3867 times)

0 Members and 1 Guest are viewing this topic.

Offline Cheetah

  • Former Staff
  • ****
Function: getRCoord (Moved to ED & ACCEPTED)
« on: 09 Feb 2007, 16:00:33 »
General information about the function

You can use this function to convert the position of a unit to the map coordinates.
Let's say you've a unit at position [0,0,0] the function would then convert this to Aa00 or whatever the map coordinates are.
With it you shouldn't encounter any problems. Using it in Sahrani or Rahmadi doesn't make any difference, on both it works.

Check the readme and demo mission for more information in case you need it.
« Last Edit: 23 Sep 2007, 13:17:17 by Spooner »
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!