Max height? (FAQ)
Posted: Wed Dec 19, 2007 5:54 pm
Edit this in your .lua:
To any number for example:
Code: Select all
SetMaxFlyHeight(40)
SetMaxPlayerFlyHeight(40)Code: Select all
SetMaxFlyHeight(900)
SetMaxPlayerFlyHeight(900)Battlefront II Mission LUA Guide.doc wrote:These next two lines set the max flyheight for the level. This prevents units like jet troopers and jedi from jumping over walls, and getting out of the world, or getting on top of buildings that they should not be able to get on top of. The playerflyheight is for the player, and the maxflyheight is for other units.
SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)