Adding lore to a cItem
#6
(08-02-2018, 11:10 PM)tigerw Wrote: I think I see the problem, the C++ code wants an array of strings but the auto-exported bindings doesn't seem to know how to translate that into Lua.

Meanwhile, you could try weapons.m_LoreTable = {"Lore1", "Lore2"}, that should work. Also, enchantments with level 0 won't show up on the client, I believe.

Thanks for your help, I got it working with your TIPBig Grin

You are correct, the enchantments of level 0 won't show up on the client, but I get an error if I put just an empty string there. Also I need to have that argument, so I can set the item's name.
Reply
Thanks given by:


Messages In This Thread
Adding lore to a cItem - by MGlolenstine - 08-01-2018, 08:36 PM
RE: Adding lore to a cItem - by NiLSPACE - 08-01-2018, 09:30 PM
RE: Adding lore to a cItem - by MGlolenstine - 08-01-2018, 09:50 PM
RE: Adding lore to a cItem - by tigerw - 08-02-2018, 11:10 PM
RE: Adding lore to a cItem - by MGlolenstine - 08-03-2018, 05:45 PM
RE: Adding lore to a cItem - by tigerw - 08-02-2018, 11:12 PM
RE: Adding lore to a cItem - by tigerw - 08-03-2018, 11:32 PM



Users browsing this thread: 1 Guest(s)