I'm working on a script that requires the player to be wearing an ALICE pack.
I know how to check for inventory and tool belt items and weapons ...
if ("PartWoodPile" in magazines player) then {
if ("ItemKnife" in items player) then {
But I can't figure out how to check to see if the player is wearing a particular backpack.
Looking through the forum I found ...
unitBackpack player
I tried ...
if (unitBackpack player = "DZ_ALICE_Pack_EP1") then {
But that doesn't work. Am I just formatting this wrong or is there another way to do it?
Thanks.
I know how to check for inventory and tool belt items and weapons ...
if ("PartWoodPile" in magazines player) then {
if ("ItemKnife" in items player) then {
But I can't figure out how to check to see if the player is wearing a particular backpack.
Looking through the forum I found ...
unitBackpack player
I tried ...
if (unitBackpack player = "DZ_ALICE_Pack_EP1") then {
But that doesn't work. Am I just formatting this wrong or is there another way to do it?
Thanks.