loopuleasa Posted September 25, 2019 Share Posted September 25, 2019 Hi, I have been stuck on this simple change, after seeing that no code was running for the livingtree prefab. Anyone know why the below is true? I seem to be missing something. Proof: No code executed in the "livingtree" prefab Link to comment https://forums.kleientertainment.com/forums/topic/112104-living-tree-addprefabpostinit-code-doesnt-run-but-work-for-others/ Share on other sites More sharing options...
Serpens Posted September 25, 2019 Share Posted September 25, 2019 (edited) works fine on my side: AddPrefabPostInit("livingtree",function() print("livingtree postinit") end) and then ingame I did "c_spawn("livingtree") and the line was printed Edited September 25, 2019 by Serpens Link to comment https://forums.kleientertainment.com/forums/topic/112104-living-tree-addprefabpostinit-code-doesnt-run-but-work-for-others/#findComment-1264658 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now