Updatesector: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
'''updatesector''' <x> <y> <gamevar> | '''updatesector''' <x> <y> <gamevar><br> | ||
'''updatesectorz''' <x> <y> <z> <gamevar> | '''updatesectorz''' <x> <y> <z> <gamevar> | ||
Returns [[sector | Returns [[sector id]] of the [[sector]] containing the point (<x>,<y>) or (<x>,<y>,<z>) into <[[gamevar]]>. If it is not a valid sector (like outside the map, inside a column, or below the floor), it returns -1. You should verify that the value return is not equal to -1 before manipulating the sector or you could have problems. | ||
[[Category:EDuke32 specific commands]] | [[Category:EDuke32 specific commands]] | ||
[[Category:Sector manipulation]] | [[Category:Sector manipulation]] |
Revision as of 20:02, 7 January 2011
updatesector <x> <y> <gamevar>
updatesectorz <x> <y> <z> <gamevar>
Returns sector id of the sector containing the point (<x>,<y>) or (<x>,<y>,<z>) into <gamevar>. If it is not a valid sector (like outside the map, inside a column, or below the floor), it returns -1. You should verify that the value return is not equal to -1 before manipulating the sector or you could have problems.