武装突袭 Wiki
Advertisement
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.03

描述

描述:
Sets the position of an object relative to the terrain.

基本句法

句法:
object setPosATL pos
参数:
object: Object
pos: Array - format PositionATL
返回值:
Nothing

范例

范例1:
player setPosATL [getPosATL player select 0, (getPosATL player select 1) - 10, getPosATL player select 2];

额外资讯

多人游戏:
-
也可以看看:
getPosATLgetPosgetPosASLsetPossetPosASL

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Posted on Feb 26, 2012 - 18:12 (CEST)
Lou Montana
Please Note : this command demands PositionATL format ; one does not simply give 2D position, as this function won't do anything.
Posted on November 11, 2014 - 20:39 (UTC)
DreadedEntity
If you plan on creating bases through script, setPosATL and getPosATL will be your friends. Other commands like getPos or getPosASL will return the position relative to any objects that are underneath. I wrote a base building helper script and through multiple tests, I have found that getPosATL is the absolute best way to get position for objects that are over land.
Advertisement