Thanks
Lua functions for moving+resize regions?
Moderator: Moderators
- AnthonyBF2
- Sith

- Posts: 1255
- Joined: Wed Aug 21, 2013 3:55 pm
- Projects :: PS2+PSP Overhaul
Lua functions for moving+resize regions?
Can this be done? I need an Lua function that can find a region, put it on a new coordinate and re-size it.
Thanks
Thanks
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Lua functions for moving+resize regions?
I don't think it can be done, but if you know where you want the regions beforehand then you can place them in ZE and activate them as needed.
- AnthonyBF2
- Sith

- Posts: 1255
- Joined: Wed Aug 21, 2013 3:55 pm
- Projects :: PS2+PSP Overhaul
Re: Lua functions for moving+resize regions?
This is to be applied to an already compiled world level file. It has to be manipulated with lua. 
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Lua functions for moving+resize regions?
I don't think this can be done, or at least no one has been able to do it yet. If you find a way please post it.
- Nedarb7
- Lieutenant General

- Posts: 676
- Joined: Sat Sep 22, 2012 3:41 pm
Re: Lua functions for moving+resize regions?
You could load another world file containing the additional regions.
