setWaypointHousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(80 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SETWAYPOINTHOUSEPOSITION]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |SETWAYPOINTHOUSEPOSITION]]
[[Category:Scripting Commands ArmA|SETWAYPOINTHOUSEPOSITION]]


|game1= ofpe
|version1= 1.00


<h2 style="color:#000066">'''''waypoint'' setWaypointHousePosition ''pos'''''</h2>
|game2= arma1
|version2= 1.00


|game3= arma2
|version3= 1.00


'''Operand types:'''
|game4= arma2oa
|version4= 1.50


'''waypoint:''' [[Array]]
|game5= tkoh
|version5= 1.00


'''pos:''' [[Number]]
|game6= arma3
|version6= 0.50


'''Type of returned value:'''
|gr1= Waypoints


[[Nothing]]
|descr= For waypoints attached to a house, this defines the target [[buildingPos]] index.


'''Compatibility:'''
|s1= waypoint [[setWaypointHousePosition]] pos


Version 1.86 required.
|p1= waypoint: [[Array]] - format [[Waypoint]]


'''Description:'''
|p2= pos: [[Number]] - [[buildingPos]] index


For waypoints attached to a house, this defines the target house position.
|r1= [[Nothing]]


|x1= <sqf>[_grp, 2] setWaypointHousePosition 1;</sqf>


'''Example'''
|seealso= [[waypoints]] [[deleteWaypoint]] [[copyWaypoints]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointDescription]] [[setWaypointFormation]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointSpeed]] [[setWaypointStatements]] [[setWaypointTimeout]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypointSpeed]] [[buildingPos]]
 
}}
[grp, 2] '''setWaypointHousePosition''' 1

Latest revision as of 10:24, 13 May 2022

Hover & click on the images for description

Description

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

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:
waypoints deleteWaypoint copyWaypoints setCurrentWaypoint setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointFormation setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible waypointAttachVehicle waypointAttachedVehicle setWaypointLoiterRadius waypointLoiterRadius addWaypoint setWaypointLoiterType waypointSpeed buildingPos

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