FreyaMaluk Posted June 26, 2016 Share Posted June 26, 2016 Just curious if there is way to prolong the time the examines last in-game. I've translated the game and I feel that the speed makes my work kinda worthless. Link to comment Share on other sites More sharing options...
CarlZalph Posted June 26, 2016 Share Posted June 26, 2016 GLOBAL.ACTIONS.LOOKAT.fn = function(act) local targ = act.target or act.invobject if targ and targ.components.inspectable then local desc = targ.components.inspectable:GetDescription(act.doer) if desc then act.doer.components.locomotor:Stop() act.doer.components.talker:Say(desc, 7.0, targ.components.inspectable.noanim) return true end end end Default value is 2.5, changed to 7. Link to comment Share on other sites More sharing options...
FreyaMaluk Posted June 26, 2016 Author Share Posted June 26, 2016 23 minutes ago, CarlZalph said: GLOBAL.ACTIONS.LOOKAT.fn = function(act) local targ = act.target or act.invobject if targ and targ.components.inspectable then local desc = targ.components.inspectable:GetDescription(act.doer) if desc then act.doer.components.locomotor:Stop() act.doer.components.talker:Say(desc, 7.0, targ.components.inspectable.noanim) return true end end end Default value is 2.5, changed to 7. Can you explain this to me??? I mean I can't coding... Sorry.. Can I include this in my mod?? Help, please Link to comment Share on other sites More sharing options...
CarlZalph Posted June 26, 2016 Share Posted June 26, 2016 8 hours ago, FreyaMaluk said: Can you explain this to me??? I mean I can't coding... Sorry.. Can I include this in my mod?? Help, please It should reside in modmain.lua. Link to comment Share on other sites More sharing options...
FreyaMaluk Posted June 27, 2016 Author Share Posted June 27, 2016 6 hours ago, CarlZalph said: It should reside in modmain.lua. Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.