En:SetRandomWalkState

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

Содержание

Account

Method of class MapObject

Syntax

SetRandomWalkState(value : Boolean)

Description

Set state that unit can random walk;

Parameters

  • value - boolean. If value is TRUE unit can walk, if value is FALSE unit can not walk;

Result

The method returns nothing;

Attention!

For correct work of this method, in cfg-files of animation of unit movement should be set offset on moving !

move_offset={5,10}

See Creation rules of configuration files for animations

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