Hi,
First you need to have a reference to the fsm component in your script
declare a public var:
public PlayMakerFSM theFsm;
then you can use:
theFsm.FsmVariables.GetFsmBool("My bool var").Value = false;
If you have more than one fsm component attached to your gameObject, It can become confusing so I suggest another approach to the public var. Instead, reference the name of the fsm you want to access and use in the awake the following script:
PlayMakerFSM[] temp = GetComponents<PlayMakerFSM>();
foreach (PlayMakerFSM fsm in temp) {
if (fsm.FsmName == "the fsm I want to work with"){
theFsm = fsm;
break;
}
}
This would be the basic approach.
Hope this helps,
Bye,
Jean