createGuardedPoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Reverted edits by Faly (Talk); changed back to last version by Giova)
Line 12: Line 12:
| '''createGuardedPoint''' [side, position, idStatic, vehicle] |= Syntax
| '''createGuardedPoint''' [side, position, idStatic, vehicle] |= Syntax


|p1= [side ''(values?)'', position ''(values?)'', idStatic ''(values?)'', vehicle ''(values?)'']: [[Array]]
|p1= [side, position, idStatic, vehicle]: [[Array]] |= Parameter 1
 
''Is this page reference manual or down and dirty list of commands?!'' |= Parameter 1


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 23:40, 20 July 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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.
Groups:
Uncategorised

Syntax

Syntax:
createGuardedPoint [side, position, idStatic, vehicle]
Parameters:
[side, position, idStatic, vehicle]: Array
Return Value:
Nothing

Examples

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

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section