Nullop: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
'''nullop'''
'''nullop'''


Null operation.  Use this instead of empty braces to signify doing nothing.
Null operation.  Use this instead of empty braces to signify doing nothing, immediately followed by [[else]] when the if condition returns false.


Instead of ifpdistl 1024 { } else killit, do ifpdistl 1024 nullop else killit.
Instead of <code>ifpdistl 1024 { } else killit</code>, do <code>ifpdistl 1024 nullop else killit</code>.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]

Revision as of 17:56, 9 January 2013

nullop

Null operation. Use this instead of empty braces to signify doing nothing, immediately followed by else when the if condition returns false.

Instead of ifpdistl 1024 { } else killit, do ifpdistl 1024 nullop else killit.