Thanks no problem, I have added the link below. I have tried with a simple cube too as the ships parented to the player so would be on the same layer so hopefully will still work. Basically I'm alternating the enable pre-set tick box button seeing if there are changes.
I have created in a new project I have started on, seems to be working well just need to test in my main game;
What I am trying to achieve is to make sure the player cant equip/unequip when in the ship so no Items will protrude through
the ship (the cube for now in the test) other during accidental equip press.
From my understanding the state system records values that you can then recall.
In my case I want the a value of equip/unequip to unchecked status just as you mentioned.
So I have created a state named 'test' attached to the players item ability. Unchecked enable in inspector, on the newly created equip/unequip (appearing in the asset folder)
When the player enters the cubes collider with the 'state trigger script' with state name field also set as 'test' attached the player is now no longer able to equip/unequip which is perfect, Understanding the state system will save me having to code lots of set active code disabling components etc.
The ship parented to the player seemed an issue, however creating separate zone / collider to deactivate works fine. I can then even alter the state tab to have say, 'run' to block equip instead etc.
Really appreciate your help on this finally there