• 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

CustDesc phase/timing

frumple

Well-known member
Anyone know what is the phase/timing to replace a thing's CustDesc field in a script and have it show up on that thing's pop-up?
 
I don't think CustDesc is ever used in the mouse-overs. CustDesc is mostly obsolete. #appenddesc is now the preferred method of adding text.
 
Speaking of the #appenddesc macro anyway to get to see what its doing, ie its Eval Script, as I would like to adjust the desc of some stuff at the beginning instead of the end.

That would also help frumple out as he could stop it from adding the "/n" that is causing the line break.
 
#appenddesc[#thing,#descript] is:
Code:
perform state.thing[#thing].amendthing[description,state.thing[#thing].field[descript].text & "{br}{br}" & #descript]
 
Just out of curiosity, is there a similar macro/function for prepending text?
Its what I need to do also. Why I asked to see the code. So it would just be:

Code:
perform state.thing[#thing].amendthing[description, #descript & state.thing[#thing].field[descript].text]

Change out the # Parameters to actual values/fields and your good to go.
 
Back
Top