Author Topic: Scripted Variables <==> VCE Variables  (Read 634 times)

Does scripted variables, like %client.money for instance, work the same as VCE variables? <var:client:money>?

If i made a variable in my script called money parented to the %client (%client.money) how could i show the variable in VCE?

And also vice versa, how could i grab VCE variables in my script?

VCE variables are actually stored in brickgroups, so %client.money is not necessarily <var:client:money>. Check out mods that add VCE variables, or the VCE add-on itself to see how that all works. It has to do with like registerVCEVar or something similar to that.