Object: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
'''Description:''' Game object, like soldier, vehicle or building.
An Object in the scripting(sqs)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;


[[Category: Data Types]]
[[Category: Data Types]]

Revision as of 02:24, 27 August 2007

An Object in the scripting(sqs)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;