setMarkerPos: Difference between revisions
Jump to navigation
Jump to search
(add. ArmA2 classification) |
Dr Eyeball (talk | contribs) (Respawn markers can be set in 3D.) |
||
Line 30: | Line 30: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
This command will not move a marker on dedicated server (if a client calls it). AI will continue to respawn at old spot if you are moving something like respawn_west. --[[User:Doolittle|Doolittle]] 22:25, 31 March 2008 (CEST) | * Effect is local in OFP. -- Pulverizer | ||
* This command will not move a marker on dedicated server (if a client calls it). AI will continue to respawn at old spot if you are moving something like respawn_west. --[[User:Doolittle|Doolittle]] 22:25, 31 March 2008 (CEST) | |||
* The marker position can actually be set in 3D. This has a benefit for respawn markers, when placed at the correct altitude ASL on the LHD, the correct altitude will be used for respawn. There is no particular benefit for regular markers since [[markerPos]] will still return 0 for the altitude array element. <!-- Tip obtained from Xeno --> [[User:Dr Eyeball|Dr Eyeball]] 02:03, 7 August 2009 (CEST) | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 01:03, 7 August 2009
Description
- Description:
- Moves the marker. Pos format is Position2D.
- Groups:
- Uncategorised
Syntax
- Syntax:
- markerName setMarkerPos pos
- Parameters:
- markerName: String
- pos: Array - format Position2D
- Return Value:
- Nothing
Examples
- Example 1:
"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo"
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
- Effect is local in OFP. -- Pulverizer
- This command will not move a marker on dedicated server (if a client calls it). AI will continue to respawn at old spot if you are moving something like respawn_west. --Doolittle 22:25, 31 March 2008 (CEST)
- The marker position can actually be set in 3D. This has a benefit for respawn markers, when placed at the correct altitude ASL on the LHD, the correct altitude will be used for respawn. There is no particular benefit for regular markers since markerPos will still return 0 for the altitude array element. Dr Eyeball 02:03, 7 August 2009 (CEST)
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Markers
- Scripting Commands ArmA2