Access wallnum: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m Added to the articles requiring verification category
No edit summary
 
Line 1: Line 1:
When 'using' a [[wall]] or [[sprite]] that needs access, it checks to see if the [[player]] has the correct access card and then starts the access animation by setting [[access_incs]] to one. It also sets the [[access wallnum]] or [[access spritenum]] to itself. <BR>
'''''access_wallnum''''' is the wall ID of the access card lock wall currently in use, if the player is using one.  Otherwise, it is set to -1. It is unknown whether or not this effect appears in any maps or whether or not it is even functional. Some of the code relating to it appears to be commented out in the source code.
For [[sprite]]s, the access card animation takes on the palette of the 'target' access [[sprite]].  
[[got_access]] bits are UN-set for the access after it is granted:<BR>
pal: 0 bit 0<BR>
Pal: 21 Bit 2<BR>
Pal: 23 Bit 3<BR>


[[Category:Player structure members]]
[[Category:Player structure members]]
[[Category:Articles requiring verification of information]]

Latest revision as of 09:04, 8 September 2006

access_wallnum is the wall ID of the access card lock wall currently in use, if the player is using one. Otherwise, it is set to -1. It is unknown whether or not this effect appears in any maps or whether or not it is even functional. Some of the code relating to it appears to be commented out in the source code.