武装突袭 Wiki
注册
Advertisement
Introduced with Arma 3 version 1.48
  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 3
版本:
1.48

描述

描述:
Returns unit description set in Editor and visible on role selection screen in MP. Works in MP and SP.

基本句法

句法:
roleDescription unit
参数:
unit: Object
返回值:
String

范例

范例1:
_playerRole = roleDescription player;

额外资讯

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

注意事项

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

Notes

Bottom Section

Posted on June 29, 2015 - 12:05 (UTC)
Killzone Kid
One thing you should know about roles. When switching to units placed in editor on the fly in MP, it could mess up the role of the player. Could be bug, could be intended, but I would not recommend doing this. Create new unit dynamically if you need to switch to. Anyway, if role of the unit is messed up so is roleDescription.
Advertisement