En:FillRoofTilesByArray

Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.

Содержание

Account

Method of class MapBuilder

Syntax

FillRoofTilesByArray(x_value : Number, 
                    y_value : Number, 
                    width : Number, 
                    height : Number, 
                    index_array : Number, 
                    array_size : Number, 
                    allocate_random : Boolean,
                    group_index : Number)

Description

Create location ceiling by using array of tile image indexes;

Parameters

  • x_value - number. Original X-coordinate of relative tile (hexagon) with which filling will begin;
  • y_value - number. Original Y-coordinate of relative tile (hexagon) with which filling will begin;
  • width - number. Width of location land surface (in tiles);
  • height - number. Height of location land surface (in tiles);
  • index_array - number. Image indexes array;
  • array_size - number. Array size;
  • allocate_random - boolean. If value TRUE - allocate random, if value FALSE - allocatу linear;
  • group_index - number. Group index;

Result

The method returns nothing;

See also

Method MapBuilder.AddTileImage
Method MapBuilder.FillMapTilesByArray

Личные инструменты