Author |
Message |
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Things Lua really needs
MovableMan.Attachables CreateLeg, CreateArm, CreateTurret MO.ParentOffset,JointOffset,SpriteOffset (not read-only!) Absolute control over frames; Lua should be able to override any .ini animation settings. I'm sure y'all have more.
|
Fri Aug 21, 2009 6:46 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Things Lua really needs
Grif wrote: MO.ParentOffset Wrong. I have done it. Anyway MO.Attachables seems like a better idea than in MovableMan. Some sort of actor storage variable thing.
|
Fri Aug 21, 2009 6:52 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: Things Lua really needs
why not have both? be able to access them globally and locally. though i suppose you could just do double iterations if you had MO.Attachables. also being able to set the spriteanimmode would fix the "control of frames" issue. or can we already do that? i definitely want createlimb functions <_<
|
Fri Aug 21, 2009 7:29 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Things Lua really needs
MO:AddFunction(ScriptFunction.Update, foobar)
Or something. I just need a way to add lua code to an actor without some MO tracking for it.
|
Fri Aug 21, 2009 7:41 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: Things Lua really needs
oh. attachables that dont crash when attached w/ lua if the parent gibs. <_<
|
Fri Aug 21, 2009 11:23 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Things Lua really needs
Global hooks.
So I can hook into every thing being created, destroyed, ect.
Specific lists(separate from the luaed objects list). MovableMan.AEmitters
|
Fri Aug 21, 2009 8:42 pm |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Things Lua really needs
No crashing if you use the actor editor to reload a non-scripted actor to a scripted version. And to do MO.Attachable one better, Attachable.Parent.
|
Fri Aug 21, 2009 11:39 pm |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Things Lua really needs
MovableMan:IsAttachable and/or MovableMan:ValidMO() working on pointers to attachables.
|
Thu Aug 27, 2009 3:58 am |
|
|
|