Getsector: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
XTHX2 (talk | contribs)
New page: setsector[<sector id>].<functionname> <gamevar> Use getsector to get the value of <functionname> and save it to the gamevar <gamevar> within the sector determined by t...
 
XTHX2 (talk | contribs)
No edit summary
Line 1: Line 1:
setsector[<[[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 10:52, 3 August 2008

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.