• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Livename help

Frodie

Well-known member
Not a big deal, but I want to try and edit the livename for a custom magic item.

First is the Ap (Armor Piercing) - I want it to appear from Ap to AP.

Second switch the order of the user chosen (the firearm) and the Ammo (the base weapon chosen when creating the custom magic item).

Final 10000

field[sbName].text = uppercase("AP, ") & field[usrChosen1].chosen.field[shortname].text
field[livename].text = uppercase("AP, ") & field[usrChosen1].chosen.field[shortname].text

I know it's kind of nit-picking, but thank you.
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    345 KB · Views: 4
  • Untitled2.jpg
    Untitled2.jpg
    326 KB · Views: 4
Last edited:
I also tried, but no luck switching the weapon and the ammo name

field[sbName].text = "AP, " & container.parent.field[livename].text & field[usrChosen1].chosen.field[shortname].text
field[livename].text = "AP, " & container.parent.field[livename].text & field[usrChosen1].chosen.field[shortname].text
 
I also tried, but no luck switching the weapon and the ammo name

field[sbName].text = "AP, " & container.parent.field[livename].text & field[usrChosen1].chosen.field[shortname].text
field[livename].text = "AP, " & container.parent.field[livename].text & field[usrChosen1].chosen.field[shortname].text

Final is probably too early, try late in the Render phase, perhaps?
 
Well it does seem like a timing issue. Render 999999 is too late and Render 10000 is all kinds of crazy, lol. Any ideas on the timing? and Thank you!
 
Custom magic weapons build their livename and sbName at Render 110000, so shortly after that perhaps?
 
Back
Top