武装突袭 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