Search the Community
Showing results for tags 'function'.
Found 2 results
I'm looking at playerstatusscreen.lua and would like to modify playerListing.ban:SetOnClick's inline function (located on line line 562). How could I go about doing this? For context this is where said function is located: playerstatusscreen.lua (file) PlayerStatusScreen:DoInit (function) listingConstructor (local function) playerListing.ban:SetOnClick (which gets passed in an inline function)
I know you need AddPrefabPostInit("prefabname", functionImadename) at end of file to make edit for prefab, but not sure about rest. Have tried copy loot table and edit it, but not sure how to go from that to adding new loot table to the prefab. And what if want edit existing function of the prefab as well? Could I have examples pls?