En:AddAsBox
Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.
Содержание |
[править]
Account
Method of class MapObject
[править]
Syntax
AddAsBox(image_name : String], object_name : String, x_value : Number, y_value : Number, box_type : BoxType, direction_of_door : Direction )
[править]
Description
Add object as container (box/cabinet/shelves) to location;
[править]
Parameters
- image_name - string. Image name;
- object_name - string. Unique object name;
- x_value - number. X-coordinate relative tile (hexagon);
- y_value - number. Y-coordinate relative tile (hexagon);
- box_type - BoxType. Box type;
- direction_of_door - Direction. Direction of door. With this direction units will go up to box;
[править]
Result
The method returns nothing;