setWaypointHousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
(24 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|S]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|S]]
____________________________________________________________________________________________


<new command not populated>
| arma |= Game name


|1.00|= Game version
____________________________________________________________________________________________


<h2 style="color:#000066">''''' setWaypointHousePosition '''''</h2>
| For waypoints attached to a house, this defines the target [[buildingPos]] index. |DESCRIPTION=
____________________________________________________________________________________________


| waypoint '''setWaypointHousePosition''' pos |SYNTAX=


'''Operand types:'''
|p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1=


'''Type of returned value:'''
|p2= pos: [[Number]] - [[buildingPos]] index|PARAMETER2=


'''Compatibility:'''
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>[_grp, 2] [[setWaypointHousePosition]] 1;</code> |EXAMPLE1=
____________________________________________________________________________________________


'''Description:'''
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]], [[buildingPos]] |SEEALSO=


}}


'''Example:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>
 
<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 15:48, 7 April 2019

-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