Object

From BISim Wiki
Jump to: navigation, search

Object refers to a building block within a scenario. In general when using this term the author refers to the representation of an object (soldier, house, crate, etc) that can be manipulated when in the 3D environment via the scripting language. As there is a special representation that is used in the mission editor, one might distinguish between a 'game object' (this article) and an 'editor object' (see Editor Object).

Contents

Object Type

An Object in the scripting language is a generic reference for a soldier, vehicle or building. Such an object can be animated (a house, a tank), can have ai associated with it (a soldier), or, simply be a 'Rock'. Various commands in the scripting language can refer as equally to generic (eg Object) types, as much as specific subtypes.

_pos = GetPos player;
_pos = GetPos _MyHouse;

Subtypes

In this wiki, when describing commands, various 'subtypes' of an object are distinguished. Although in general the commands accept parameters of type 'object', when a subtype is listed, the use of subtypes indicates that the command might not make sense or might not work on all objects.

Building

When used in the command reference, this 'Object' specifically refers to a non AI type model, such as a house, or a rock.

Joint

A connection type used to couple different objects together (e.g. as used in setDriveOrientation).

Vehicle

An Object such as a Tank, car, Helicopter.

Unit

A soldier or civilian person.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox