Jump to content

Is there a way to make examine lines last longer in-game?


Recommended Posts

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

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

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.

×
  • Create New...