Get Any Alterable Value with an Expression
Hi.
You can specify to compare an alterable value from an expression, and you can set an alterable value through an expression, but you can not get an alterable value through an expression.
This is what i would like to do:
example:
value = 23 + AlterableValue( "active", 5 )
Which would pick the fifth Alterable Value of the object.
Is this possible somehow now? If it isn't, could it be implemented?
Re: Get Any Alterable Value with an Expression
You could use Lua+ with a function like
function AlterableValue(ID)
return MF_GetObjectValue(1,ID)
end
then export your object to Lua, and call the function with the expression
LuaFunctionN("Lua+","AlterableValue",5)
Re: Get Any Alterable Value with an Expression
Quote:
If it isn't, could it be implemented?
Yes, it will be in the next update of the build 248.
Re: Get Any Alterable Value with an Expression
any Eta on when the next update of the build will be done?
Re: Get Any Alterable Value with an Expression
We'll release the next beta version of this build either next week or the next one.
EDIT: hmm... probably the next one.
Re: Get Any Alterable Value with an Expression
Great :) exactly what I'll need for the inventory!
Re: Get Any Alterable Value with an Expression
btw, thanks jamie, this works great as a work around until its native! =)