createGuardedPoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|CREATEGUARDEDPOINT]]
[[Category:Scripting Commands ArmA|CREATEGUARDEDPOINT]]


<new command not populated>


<h2 style="color:#000066">''' createGuardedPoint ''[side, position, idStatic, vehicle]'''''</h2>


<h2 style="color:#000066">''''' createGuardedPoint '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''[side, position, idStatic, vehicle]:''' [[Array]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 1.86 required.


'''Description:'''
'''Description:'''
Adds a point guarded by the given '''side'''.
If '''idStatic''' is not negative, the '''position''' of a static object with the given id is guarded.
If the given '''vehicle''' is valid, the starting position of the vehicle is guarded, otherwise the given position is guarded.




'''Example:'''
'''Example:'''
point = '''createGuardedPoint''' [ [[east]], [0, 0], -1, [[vehicle]] [[player]] ]

Revision as of 01:09, 6 July 2006


createGuardedPoint [side, position, idStatic, vehicle]


Operand types:

[side, position, idStatic, vehicle]: Array

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

Adds a point guarded by the given side.

If idStatic is not negative, the position of a static object with the given id is guarded.

If the given vehicle is valid, the starting position of the vehicle is guarded, otherwise the given position is guarded.


Example:

point = createGuardedPoint [ east, [0, 0], -1, vehicle player ]