Updatesector: Difference between revisions
Hunter byte (talk | contribs) mNo edit summary  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
updatesector <x> <y> <gamevar>  | updatesector <x> <y> <gamevar>  | ||
Returns [[sector number]] of [[sector]] at (<x>,<y>) into [[gamevar]] <gamevar>.  See [[updatesectorz]].  | Returns [[sector number]] of [[sector]] at (<x>,<y>) into [[gamevar]] <gamevar>.  See [[updatesectorz]]. If it is not a valid sector (like outside the map or inside a column) it is set to -1.  | ||
[[Category:EDuke32 specific commands]]  | [[Category:EDuke32 specific commands]]  | ||
[[Category:Sector manipulation]]  | [[Category:Sector manipulation]]  | ||
Revision as of 16:38, 8 September 2008
updatesector <x> <y> <gamevar>
Returns sector number of sector at (<x>,<y>) into gamevar <gamevar>. See updatesectorz. If it is not a valid sector (like outside the map or inside a column) it is set to -1.