Setsector: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
setsector[<[[sector id]]>].<functionname> <[[gamevar]]>
setsector[<[[sector id]]>].<functionname> <[[gamevar]]>


Use setsector to set the value of <functionname> to the [[gamevar]] <[[gamevar]]> within the [[sector]] determined by the [[gamevar]] <[[sector id]]>. You can use [[THISACTOR]] as the <[[sector id]]> for the sector in which the current actor is in. See [[Members of the sector structure|Sector Member Functions]].
Use setsector to set the value of <functionname> to the [[gamevar]] <[[gamevar]]> within the [[sector]] determined by the [[gamevar]] <[[sector id]]>. You can use [[THISACTOR]] as the <[[sector id]]> for the sector in which the current actor is in. See [[Members of the sector structure]].


[[Category:EDuke commands]]
[[Category:EDuke commands]]
[[Category:Sector manipulation]]
[[Category:Sector manipulation]]

Revision as of 16:05, 4 October 2006

setsector[<sector id>].<functionname> <gamevar>

Use setsector to set the value of <functionname> to the gamevar <gamevar> within the sector determined by the gamevar <sector id>. You can use THISACTOR as the <sector id> for the sector in which the current actor is in. See Members of the sector structure.