In-game definition editing - Page 2

In-game definition editing

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: In-game definition editing

Post by Pendrokar »

jK wrote:
Pendrokar wrote:What has changed with this function(exept that .editdefs needs cheats and that there is radardistance not radarrange now)? I tried trepans given example and Guessmyname given example no changes after creating the unit!
Furthermore will the definitions have the new values if I create a unit with LUA? And how to give this command "/luaui setudef armcom radardistance 1000"?
you know you have first to .cheat and then .editdefs (it will then even give ya a message)?
Here is how it is:
.cheat
Cheating..
.editdefs
Definition Editing
/luaui setudef armcom radardistance 1000
.give armcom
giving.... //without any changes
Post Reply

Return to “Lua Scripts”