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();