Nullop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
'''nullop''' | |||
Instead of ifpdistl 1024 { } else killit, do ifpdistl 1024 nullop else killit. | Null operation. Use this instead of empty braces to signify doing nothing, immediately followed by [[else]] and code to run if the if condition returns false. If you are not using an else, remove nullop and the if condition completely. | ||
Instead of <code>ifpdistl 1024 { } else killit</code>, do <code>ifpdistl 1024 nullop else killit</code>. | |||
[[Category:Duke3D 1.3/1.5 commands]] |
Latest revision as of 16:57, 9 January 2013
nullop
Null operation. Use this instead of empty braces to signify doing nothing, immediately followed by else and code to run if the if condition returns false. If you are not using an else, remove nullop and the if condition completely.
Instead of ifpdistl 1024 { } else killit
, do ifpdistl 1024 nullop else killit
.