I'm a bit confused on how to check a bool from a separate class (AccessoryCompGrip) then do something based on the result. Here is what I have in my Pawn class:
My error is : Bad or missing expression for token: AccessoryCompGrip, in 'if'.Code:var AccessoryCompGrip bIsVertGrip; function Blah() { if (AccessoryCompGrip.bIsVertGrip == true) { // Do something } else { // Do something else } }
Am I not tracking back to the class properly?



Reply With Quote


Bookmarks