ZakBlystone / gmod_blueprints

Blueprint Editor for Garry's Mod (Visual Programming)
GNU General Public License v3.0
59 stars 9 forks source link

referencing a function from a mod object causes a compiler error #61

Closed Crysoskis closed 4 years ago

Crysoskis commented 4 years ago

If you reference a function from a Mod object you are unable to set the "Self" node on the function which causes a compiler error.

Blueprint showing this behavior: bp-FgtGHid8GViX2egMHkqW

The function: image

The function inside its own object (this does not create a compiler error): image

The function inside an object in the same project (this creates the error): image

Create isnt an option on the DebugMod mod so you cant grab a value for "Self" image

The compiler error: image

ZakBlystone commented 4 years ago

Fixed in commit 8c3267d7564e728558f629b1d6c4b7f0638bef58