Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: joduffy on December 13, 2013, 09:56:54 PM
-
Hi I am trying to learn how to use the photon demo.
I was look at this FSM:
https://hutonggames.fogbugz.com/default.asp?W875
But I cannot seem to edit an Object variable. I noticed there is a variable called Camera Script of object type ThirdPersonCamera which point to the FSM Photon Player.
Yet when I create my own object I cannot point it to my player - cannot drag and drop or set its value.
-
Turns out you just drag and drop the desired script from the inspector into the playmaker editor variables tab.
So in this case I dragged and dropped the Third person Camera script into the variable tab.
I still dont understand why I could not set the value of a created object variable in playmaker though.
-
Hi,
Did you properly assigned the fsmObject to be of the right type? always double check this, it's likely the reason.
bye,
Jean
-
Hi Jean,
Yeah. I had the correct fsm setup.
I set it to the ThirdPersonContoller and tried to drag and drop the script from the inspector into it.
Its not a big deal as I have a work around. Just thought it was strange.
-
Hi,
some screencast would help, cause maybe we are not actual picturing the same thing.
bye,
Jean