Hey, i can't get this script to work somehow. They changed the BP System and i took an example for the BlueprintManager.
It's my code, but it ain't working cuz the function is overloaded twice. Is there a a solution around this? Cuz everytime i call the FindItemDefinition function i get an error (attempt to call field 'FindItemDefinition' (a table value)Code:function LearnBP(Player, BlueprintName) local ItemDefinition = global.ItemManager.FindItemDefinition(BlueprintName) if(ItemDefinition == nil) then return end Player.blueprints.Learn(ItemDefinition)![]()
Solved Blueprint system changed [Lua]
Discussion in 'Rust Development' started by Inofix, Aug 6, 2015.