Soldier.wearHeadgear 110
Puts a headgear on the soldier, replacing the one they are wearing: the new one goes into the inventory and on the head, the old one is removed from the inventory. Works with vanilla and mod headgear ids, both listed in the Id tables. The id must be a headgear and not a DLC item, otherwise nothing happens. The change is applied asynchronously, so do not expect it on the very next line.
Return value
| Return Type | Description |
|---|---|
| void | This function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | string | Id of the headgear to put on, vanilla or from a mod. |
Examples
No examples available.
