Editing userdata
Moderator: Forum Moderators
Editing userdata
I want to delete some attributes from wml tag config object aka vconfig aka userdata aka WML object, but it is protected from editing. I tried to make table copy of it using ipairs(), but this way i only get subtags and i can't get attibutes.
Re: Editing userdata
you can use the helper.parsed ot helper.literal functions to copy a vconfig intoa regular config lua table.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
Re: Editing userdata
Tried this today. Works perfectly, thanks. I'm a big step further in creation of the most complex wml tag ever.