BIS fnc moveToRespawnPosition: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 21: | Line 21: | ||
* [[false]] - Both moved unit and vehicle or unit at position (if any) must be alive |PARAMETER3 | * [[false]] - Both moved unit and vehicle or unit at position (if any) must be alive |PARAMETER3 | ||
| [[Boolean]] - [[true]]: move succeeded, [[false]]: move failed | |r1=[[Boolean]] - [[true]]: move succeeded, [[false]]: move failed | ||
|x1= <code><nowiki>[</nowiki>[[player]], "SpawnMarker1"] [[call]] [[BIS_fnc_moveToRespawnPosition]];</code> | |x1= <code><nowiki>[</nowiki>[[player]], "SpawnMarker1"] [[call]] [[BIS_fnc_moveToRespawnPosition]];</code> | ||
}} | }} |
Revision as of 20:26, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object - unit to move
- position: Object, Group, String or Array
- Object or Group - Object or Group to move unit to. Move to the object position or inside an object if the object is a vehicle, or if group or unit is in vehicle and there is an empty seat
- String - Marker to move unit to. Marker size will be used for random placement area and marker direction for unit direction
- Array - Precise PositionAGL to move unit to. [x,y] array will be converted to [x,y,0]
- canBeDead (Optional): Boolean - Whether or not dead are allowed:
- Return Value:
- Boolean - true: move succeeded, false: move failed
Examples
- Example 1:
[player, "SpawnMarker1"] call BIS_fnc_moveToRespawnPosition;
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