Page 1 of 1
Unitdef.lua
Posted: 21 Nov 2010, 08:36
by kalda341
Does nyone know of where I could find a complete list of unitdef commands (and hopefully an explanation of what each one does though most are self explanatory)? Thanks.
Re: Unitdef.lua
Posted: 21 Nov 2010, 08:39
by kalda341
It's fine, I found what I was looking for.
Re: Unitdef.lua
Posted: 21 Nov 2010, 08:39
by knorke
does not exist.
what do you need?
Re: Unitdef.lua
Posted: 21 Nov 2010, 11:34
by Google_Frog
kalda341 wrote:It's fine, I found what I was looking for.
I agree with knorke, as far as I know it doesn't exist. What have you found because I'd find it useful.
Re: Unitdef.lua
Posted: 21 Nov 2010, 18:23
by oksnoop2
Re: Unitdef.lua
Posted: 21 Nov 2010, 19:38
by kalda341
Re: Unitdef.lua
Posted: 21 Nov 2010, 22:15
by Forboding Angel
knorke wrote:does not exist.
what do you need?
Yes it does:
Course you would never find it because searching for lua unit defs gives you nothing, unit defs gives you nothing, lua unitdefs gives you nothing Even though the page is named Lua unitdefs! The only way to find it is by searching for "unitdefs".
The fucking wiki blows.
Re: Unitdef.lua
Posted: 21 Nov 2010, 22:39
by knorke
oh yes that page.
i somehow read the original post as "is there a better page than this one with stuff actually explained."
Re: Unitdef.lua
Posted: 21 Nov 2010, 22:58
by Forboding Angel
Well the values listed are the default values which helps explain quite a bit but I get what you mean.
Re: Unitdef.lua
Posted: 22 Nov 2010, 02:08
by jK
Forboding Angel wrote:Yes it does:
warning:
THE INPUT AND THE OUTPUT OF THOSE TAGS ARE NOT THE SAME, NOR ARE THE NAMES OF THOSE TAGS!!!
->Use
Units:FBI when you want to edit/create UnitDefs.
->Use
Lua_UnitDefs when you want to
read UnitDefs in Lua.
Re: Unitdef.lua
Posted: 22 Nov 2010, 02:40
by Google_Frog
Incomplete.
Incomplete as well.
Re: Unitdef.lua
Posted: 22 Nov 2010, 04:01
by jK
that's a diff problem

Re: Unitdef.lua
Posted: 22 Nov 2010, 19:59
by kalda341
Thanks.
Re: Unitdef.lua
Posted: 22 Nov 2010, 21:42
by FLOZi
Seen as no-one bothered to mention it, a link every Spring modder should have bookmarked:
https://github.com/spring/spring/blob/m ... nitDef.cpp
Re: Unitdef.lua
Posted: 24 Nov 2010, 20:00
by Forboding Angel
Flozi, marry me you sexy beast!