I think you misunderstood my last question.
I have manage to set up the variable on the item (a door). This is a BLANK Fsm (no actions) but with 2 variables. a Bool , that is set to true. I MUST set either true OR false here. And a string (some text that can be displayed).
Then on the player, the ray is hitting the door, and has a Get fsm Bool Action. It correctly finds the object, finds the fsm, and returns true. In order to USE this variable, I must store it, I do so using a variable in this Fsm called ItemFound.
THEN in the following Action
BUT if I now move away from the door, the variable DOES NOT return false. Presumable because the next object it finds (the road or the building or anything, does NOT possess this variable only Fsm.
Therfore, even though I can transition to a new State, where I could display a label or screen text (And I will want to implement a mouse click to enter the building (taking me to a new scene altogether)) it will continue to display this message forever. I need a more ON/OFF type of functionality.
I the Bool Test State, I can transition from a TRUE, but never a false, because it never becomes false, once the ray has found it.
Is there no other way to do tis, for example tagging usable objects? or something that will return False, when the ray is NOT hitting something, and true when it is?
Its probably more likely that I am just not understanding YOU, rather than the other way round, if so, sorry for being dumb!
Mark