Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: goliath520 on January 09, 2013, 04:00:11 PM
-
For some reason I can figure out all the complicated stuff but the really basic stuff just seems to not click. Right now I have a variable in playmaker and called setkey and I am trying to get the value in c# but it seems to be having a problem. The line I am using is: Num = theFsm.FsmVariables.GetFsmInt("setKey").Value;. but I keep getting the error nullreferenceexception.
-
hi,
it must be then something very silly as always :)
isolate each variable, then you'll know which one is null
it's likely "theFsm" that is not assigned.
bye,
Jean