roleDescription: Difference between revisions
Jump to navigation
Jump to search
(version 1.48) |
No edit summary |
||
Line 38: | Line 38: | ||
<dd class="note"> | <dd class="note"> | ||
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]]. | 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]]. | ||
</dd> | |||
</dl> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on May 26, 2017 - 01:10 (UTC)</dd> | |||
<dt class="note">[[User:Pierre MGI|Pierre MGI]]</dt> | |||
<dd class="note"> | |||
[[roleDescription]] works for playableUnits only. That means not on AI disabled in lobby and not in SP (even for player). | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 18:45, 26 May 2017
Description
- Description:
- Returns unit description set in Editor and visible on role selection screen in MP. Works in MP and SP.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_playerRole = roleDescription player;
Additional Information
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
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.
- Posted on May 26, 2017 - 01:10 (UTC)
- Pierre MGI
- roleDescription works for playableUnits only. That means not on AI disabled in lobby and not in SP (even for player).