Fandom

武装突袭 Wiki

Object

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

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).

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.

Vehicle编辑

A vehicle is an Object such as a Tank, car, Helicopter.

Person编辑

A Person is a soldier, man, leader, player, woman.

Rope编辑

A Rope is flexible and is connected to another object at one or both ends.

Unit编辑

A Unit is either a Person, or, Vehicle

Units编辑

Units are an Array of type unit

Unit(s)编辑

Unit(s) refer to EITHER an Array of type unit, or, a singular unit OR a Group. This distinction in the command reference refers to very different Types, any of which could be used in the same command syntax

_Unit DoWatch Position
[_unit1,_unit2,_unit3] DoWatch Position
_group1 allowFleeing 0.8

Building编辑

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

更多维基

随机维基