Setngcflags: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Created page with "'''setngcflags''' <const/var> <idx1> [<idx2>...] Gets/sets the flags for the newgamechoices entries at the specified indices. The index list is variable-sized, up to a maximum of 3. This can be used to enable/disable the MEF_Hidden and MEF_Locked state. Supersedes the userdef struct members: `m_newgamecustomopen` and `m_newgamecustomsubopen`. See also: getngcflags Category:EDuke32_specific_commands Category:Userdef structure manipulation"
 
No edit summary
 
Line 1: Line 1:
'''setngcflags''' <const/var> <idx1> [<idx2>...]
'''setngcflags''' <const/var> <idx1> [<idx2>...]


Gets/sets the flags for the newgamechoices entries at the specified indices.
Sets the flags for the newgamechoices entries at the specified indices.
The index list is variable-sized, up to a maximum of 3.
The index list is variable-sized, up to a maximum of 3.



Latest revision as of 08:39, 5 July 2025

setngcflags <const/var> <idx1> [<idx2>...]

Sets the flags for the newgamechoices entries at the specified indices. The index list is variable-sized, up to a maximum of 3.

This can be used to enable/disable the MEF_Hidden and MEF_Locked state. Supersedes the userdef struct members:

`m_newgamecustomopen` and `m_newgamecustomsubopen`.

See also: getngcflags