En:ScrollMapToObject

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

Содержание

Account

Method of class MapBuilder

Syntax

ScrollMapToObject(object_name : String)

Description

Scroll location surface to object;

Parameters

  • object_name - string. Object name;

Result

The method returns nothing;

Additional note

Attention! The method call makes sense after the location surface visibility area has been installed ! see method MapBuilder.AddMapViewPort

Example

var m_build = CreateObject("MapBuilder");        
m_build.AddMapViewPort(-700, 130, 1200, 653); // Indicate surely !
m_build.SetHeroPosition(12, 32); 
m_build.ScrollMapToObject("hero");
m_build.Free();
Личные инструменты