Data Realms Fan Forums http://45.55.195.193/ |
|
Lua Bunker Modules http://45.55.195.193/viewtopic.php?f=73&t=15598 |
Page 1 of 1 |
Author: | Mind [ Sun Jun 28, 2009 2:58 am ] |
Post subject: | Lua Bunker Modules |
How would you add bunker modules to the game via lua? I tried CreateTerrainObject, but that didn't work, so i don't know what would. Thanks |
Author: | mail2345 [ Sun Jun 28, 2009 2:59 am ] |
Post subject: | Re: Lua Bunker Modules |
Find away around IsScarp. Spawn in MO that auto settles/spawn in MO with force deep check and terrain eating functions running. |
Author: | Mind [ Sun Jun 28, 2009 3:02 am ] |
Post subject: | Re: Lua Bunker Modules |
Not near as fluent as lua as you, so how would you go at creating a script like that? |
Author: | mail2345 [ Sun Jun 28, 2009 3:36 am ] |
Post subject: | Re: Lua Bunker Modules |
Code: function Update(self) self:EraseFromTerrain() self:ForceDeepCheck() self.ToSettle = true end Just make an MO that is shaped like the bunker, and find a way around IsScrap(from the mod end). |
Author: | Mind [ Sun Jun 28, 2009 3:37 am ] |
Post subject: | Re: Lua Bunker Modules |
Okay, thanks a lot, mail. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |