- Joined
- Dec 2, 2013
- Messages
- 25
Hi my lords, i wanted to know if it is possible to use variables into an item description... At the map initialisation, i load an huge amount of variable like this one (30 array / item, Approximately 50 items) :
Set DATAlightcrossbow[1] = 5
Set DATAlightcrossbow[2] = 1.3
Set DATAlightcrossbow[3] = 3
.
.
.
And now i just wanted to put these variables into an item description like this :
Light crossbow
Flat damage : DATAlightcrossbow[1]
Critical strike modifier : DATAlightcrossbow[2]
Weight : DATAlightcrossbow[3]
But i don't know if it's possible... For now i m directly writing these variables by myself but it is pretty annoying... Here is an example :
Light crossbow
Flat damage : 5
Critical strike modifier : 1.3
Weight :3
My goal, if i can use directely variables, is to update very quickely my items description just by changing
DATAlightcrossbow[1] = 5
to
DATAlightcrossbow[1] = 7
for example.
Hope that you understood my request ^^ Thanks for the help
Set DATAlightcrossbow[1] = 5
Set DATAlightcrossbow[2] = 1.3
Set DATAlightcrossbow[3] = 3
.
.
.
And now i just wanted to put these variables into an item description like this :
Light crossbow
Flat damage : DATAlightcrossbow[1]
Critical strike modifier : DATAlightcrossbow[2]
Weight : DATAlightcrossbow[3]
But i don't know if it's possible... For now i m directly writing these variables by myself but it is pretty annoying... Here is an example :
Light crossbow
Flat damage : 5
Critical strike modifier : 1.3
Weight :3
My goal, if i can use directely variables, is to update very quickely my items description just by changing
DATAlightcrossbow[1] = 5
to
DATAlightcrossbow[1] = 7
for example.
Hope that you understood my request ^^ Thanks for the help