Ifplayersl: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
mNo edit summary
 
Line 3: Line 3:
This condition is true if the [[numplayers|number of players]] is less than <value>.
This condition is true if the [[numplayers|number of players]] is less than <value>.


'''ifplayersl''' is a command originally found in v1.1 of Duke Nukem 3D. It's only purpose was to check if there was more than one player in the map, and was replaced with [[ifmultiplayer]] in subsequent versions.
'''ifplayersl''' is a command originally found in v1.1 of Duke Nukem 3D. Its only purpose was to check if there was more than one player in the map, and was replaced with [[ifmultiplayer]] in subsequent versions.


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Player manipulation]]
[[Category:Player manipulation]]
[[Category:If conditions]]
[[Category:If conditions]]

Latest revision as of 15:24, 3 June 2013

ifplayersl <value> { /* something */ } else { /* something else */ }

This condition is true if the number of players is less than <value>.

ifplayersl is a command originally found in v1.1 of Duke Nukem 3D. Its only purpose was to check if there was more than one player in the map, and was replaced with ifmultiplayer in subsequent versions.