setWaypointHousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(see also)
(21 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SETWAYPOINTHOUSEPOSITION]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETWAYPOINTHOUSEPOSITION]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETWAYPOINTHOUSEPOSITION]]
 
| arma |= Game name
 
|1.00|= Game version
____________________________________________________________________________________________


<new command not populated>
| For waypoints attached to a house, this defines the target [[buildingPos]] index. |= Description
____________________________________________________________________________________________


| waypoint '''setWaypointHousePosition''' pos |= Syntax


<h2 style="color:#000066">''''' setWaypointHousePosition '''''</h2>
|p1= waypoint: [[Array]] - format [[Waypoint]] |= Parameter 1


|p2= pos: [[Number]] - [[buildingPos]] index|= Parameter 2


'''Operand types:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>[_grp, 2] [[setWaypointHousePosition]] 1;</code> |= Example 1
____________________________________________________________________________________________


'''Type of returned value:'''
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]], [[buildingPos]] |= See also


'''Compatibility:'''
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETWAYPOINTHOUSEPOSITION]]
[[Category:Scripting Commands OFP Elite |SETWAYPOINTHOUSEPOSITION]]
[[Category:Scripting Commands ArmA|SETWAYPOINTHOUSEPOSITION]]
[[Category:Command_Group:_Waypoints|SETWAYPOINTHOUSEPOSITION]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 23:42, 14 November 2018

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

Description

Description:
For waypoints attached to a house, this defines the target buildingPos index.
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointHousePosition pos
Parameters:
waypoint: Array - format Waypoint
pos: Number - buildingPos index
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] setWaypointHousePosition 1;

Additional Information

See also:
waypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeedbuildingPos

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