ethanwdp Posted August 28, 2015 Share Posted August 28, 2015 I've been working on a flying cheat for my mod, which allows the player to go up/down in Z and creates a floor under him to allow him to move. Problem is, if there was no floor, and there never was a floor there, there is no square. So I've looked in IsoGridSquare and found this:public static IsoGridSquare getNew(IsoCell cell, SliceY slice, int x, int y, int z)Cell, x,y, and z are easy to find. But how do I return the slice? I haven't found anything that would return it in the games code. Link to comment Share on other sites More sharing options...
ethanwdp Posted August 30, 2015 Author Share Posted August 30, 2015 Figured it out. Turns out that the slice wasn't important, and using nil instead worked fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now