Definevolumeflags: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Add documentation
 
mNo edit summary
 
Line 5: Line 5:
Assigns the given ''<flags>'' (a bit field) to the specified volume index ''<vol>''.
Assigns the given ''<flags>'' (a bit field) to the specified volume index ''<vol>''.


==Volume Flag Reference==
==Volumeflags Reference==
{{volumeflags}}
{{volumeflags}}


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Game manipulation]]
[[Category:Game manipulation]]

Latest revision as of 03:53, 12 January 2021

definevolumeflags <vol> <flags>

Declarative statement, to be placed outside of executed code blocks.

Assigns the given <flags> (a bit field) to the specified volume index <vol>.

Volumeflags Reference

The following table lists the available volumeflags, used with definevolumeflags.

Exposed Value Label Description
No 1 EF_HIDEFROMSP Hide the episode from the menu when in singleplayer mode.
No 2 EF_HIDEFROMMP Currently does nothing. Originally supposed to hide the episode from the multiplayer menu.
Defines
define EF_HIDEFROMSP               0
define EF_HIDEFROMMP               1