Getsector: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
XTHX2 (talk | contribs)
No edit summary
One (talk | contribs)
No edit summary
Line 1: Line 1:
getsector[<[[sector id]]>].<functionname> <[[gamevar]]>
'''getsector'''[<[[sector id]]>].<functionname> <[[gamevar]]>


Use getsector to get the value of <functionname> and save it 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]].
Use getsector to get the value of <functionname> and save it 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]].

Revision as of 11:31, 4 May 2009

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

Use getsector to get the value of <functionname> and save it 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.