Описание класса game object. Часть IV. — различия между версиями — S.T.A.L.K.E.R. Inside Wiki

Описание класса game object. Часть IV. — различия между версиями

Материал из S.T.A.L.K.E.R. Inside Wiki

Перейти к: навигация, поиск
м
м
Строка 261: Строка 261:
 
<cpp>class CSightParams {
 
<cpp>class CSightParams {
 
     const eSightTypeCurrentDirection = 0;
 
     const eSightTypeCurrentDirection = 0;
const eSightTypePathDirection = 1;
+
    const eSightTypePathDirection = 1;
const eSightTypeDirection = 2;
+
    const eSightTypeDirection = 2;
const eSightTypePosition = 3;
+
    const eSightTypePosition = 3;
const eSightTypeObject = 4;
+
    const eSightTypeObject = 4;
const eSightTypeCover = 5;
+
    const eSightTypeCover = 5;
const eSightTypeSearch = 6;
+
    const eSightTypeSearch = 6;
const eSightTypeLookOver = 7;
+
    const eSightTypeLookOver = 7;
 
     const eSightTypeCoverLookOver = 8;
 
     const eSightTypeCoverLookOver = 8;
 
     const eSightTypeFireObject = 9;
 
     const eSightTypeFireObject = 9;
Строка 279: Строка 279:
 
     CSightParams ();
 
     CSightParams ();
  
};<br /><br /></div></div>
+
};</cpp><br /><br /></div></div>
  
 
<div class="NavFrame collapsed">
 
<div class="NavFrame collapsed">

Версия 20:50, 18 декабря 2011

Навигация

Описание класса game object. Часть I.
Описание класса game object. Часть II.
Описание класса game object. Часть III.
Описание класса game object. Часть IV.
Описание класса game object. Часть V.

Содержание

CAI_Stalker

Эти методы можно применять только для сталкеров.

function add_animation(string, boolean)
function add_animation(string);

function safe_cover(const vector&, number, number);

function target_body_state() const;

function target_mental_state() const;

function target_movement_type() const;

function set_patrol_path(string, enum PatrolPathManager::EPatrolStartType, enum PatrolPathManager::EPatrolRouteType, bool);

function set_sight(enum SightManager::ESightType sight_type, const vector& vector3d, bool);
function set_sight(enum SightManager::ESightType sight_type, const vector* vector3d);
function set_sight(enum SightManager::ESightType sight_type, const vector* vector3d, int dwLookOverDelay);
function set_sight(enum SightManager::ESightType sight_type, bool torso_look, bool path);


Написано K.D. 18:13, 18 декабря 2011 (UTC) по материалам malandrinus, материалам форума АМК и собственным изысканиям.

Другие места
LANGUAGE