Jump to content

bobmorane

Inactive Member
  • Posts

    23
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by bobmorane

  1. Based to this function

     

    function say2(str,dx)
        
    local maxl,actl,pat dx or 50,0,'(.-)(%[.-%])()'
        
    local result,nb,lastPos,outp = {},0,0,''
        
    if string.find(strpat) ~= nil then 
            
    for partdos,pos in string.gfind(strpat) do 
                
    nb nb 2
                
    if part ~= '' then result[nb-1] = part else nb nb -1 end
                result
    [nb] = dos
                lastPos 
    pos 
            end 
        end 
        result
    [nb+1] = string.sub(str,lastPos)
        
    table.foreach(result,function(i,l)
            if 
    string.find(l,patthen 
                outp 
    outp..
            
    else
                for 
    le in string.gfind(l,'((%S+)%s*)') do 
                    if 
    actl string.len(le) > maxl then 
                        outp 
    outp..'[ENTER]' 
                        
    actl 
                    end 
                    outp 
    outp..le 
                    actl 
    actl string.len(le
                
    end 
            end
        end
    )
        
    say(outp)
    end 

     

     

    Right now, the function just does a automatic word wrap after 50 letters. I am looking for some change, which would be like this:

    The first 4 lines, there will be the word wrap after 20 letters. After that each line will wrap after 50 letters. Once 10 lines total are reached, there should be a auto "wait()" placed.

    I would offer $50,00 for this.

     

  2. hello, for some reason the QUEST ARROW (you know that one which appears when you have a new quest on NPC) is not showing up in game. The effect file seems called, but effect not showing.

    std::string g_strEffectName = "d:/ymir work/effect/etc/direction/direction_land.mse";

     

    Seems ok, but still in game no effect

    If anyone is good and c++ and offers service contact me, I would also pay for a fix.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.