monkeybee Posted October 14, 2017 Share Posted October 14, 2017 (edited) sorry im really a newbi at scripting even after playing with lua on off for years now >.< ok so in my mod im making "birdy" when u drop him on the ground it will attract birds just like the feather hat woud if its on your head (and play sounds but baby steps) but im not sure if it is attracting more birds or not and from my messing around with the teddy bear from DST ive been using local function topocket(inst, owner) (snip...) end local function toground(inst, owner) (snip...) end but looking at the lightbulb.lua it has local function OnDropped(inst) inst.Light:Enable(true) end local function OnPickup(inst) inst.Light:Enable(false) end so im wondering is there a diffronts between "OnDropped / toground" and "OnPickup/topocket" edit: heres a link to my mods github if any 1 wants to look at it to see if theres a diffront reason y its not attracting birds https://github.com/monkeybee11/monkey-mod Edited October 14, 2017 by monkeybee fix title Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now