This is my current code located inside of obj/
arrows
icon = 'weapons.dmi'
icon_state = "arrows"
iw = 1
price = 4
qty = 12
suffix = "Qty: [qty]"
I'm wanting for the qty variable to show up in the suffix field when ever it is viewed from within usr.contents. Does anyone know I can accomplish this?
ID:171948
Jul 19 2004, 10:18 am
|
|
In response to Lummox JR
|
|
Thanks for reminding me.. I thought that may be it.. but wasn't sure.. procs and vars.. always a weak point with me.
|
In response to LordJR
|
|
LordJR wrote:
procs and vars.. always a weak point with me. But that's all programming is! :P |
In response to Foomer
|
|
Foomer wrote:
LordJR wrote: LIES!!! ALL LIES!!! :D |
Yes: By updating the suffix whenever qty changes, or in Stat(). You can't set a var at compile time to what is basically a formula or a mini-proc, hoping that it will auto-update whenever you use it. Vars don't work that way.
Lummox JR