Editing Thing flags

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
''For information on EDF thingtype flags, see [[Thing type flags]].''
{{Backto|Editing reference}}
=== New to BOOM ===
=== New to BOOM ===
BOOM has implemented two new thing flags, ''not in DM'' and ''not in COOP'', which in combination with the existing ''not in Single'' flag, usually called ''Multiplayer'', allow complete control over a level's inventory and monsters, in any game mode.
BOOM has implemented two new thing flags, "not in DM" and "not in COOP", which in combination with the existing "not in Single" flag, usually called "Multiplayer", allow complete control over a level's inventory and monsters, in any game mode.


If you want a thing to be only available in Single play, you set both the ''not in DM'' and ''not in COOP'' flags. Other combinations are similar.
If you want a thing to be only available in Single play, you set both the "not in DM" and "not in COOP" flags. Other combinations are similar.


:''not in DM'' is bit 5, value 32, in the thing flags word.
"not in DM" is bit 5, value 32, in the thing flags word.
:''not in COOP'' is bit 6, value 64, in the thing flags word.
"not in COOP" is bit 6, value 64, in the thing flags word.


=== New to MBF ===
=== New to MBF ===
Line 14: Line 11:
MBF introduces one new mapthing flag
MBF introduces one new mapthing flag


:''friendly'' is bit 7, value 128, in the thing flags word.
"friendly" is bit 7, value 128, in the thing flags word.


This flag may be placed on any object, but will only have an effect on sentient enemies. When given this flag, a thing will use MBF's friendly entity logic, and will help the player to defeat enemies in the level.
This flag may be placed on any object, but will only have an effect on sentient enemies. When given this flag, a thing will use MBF's friendly entity logic, and will help the player to defeat enemies in the level.
Line 26: Line 23:
Eternity introduces one new mapthing flag
Eternity introduces one new mapthing flag


:''dormant'' is bit 9, value 512, in the thing flags word.
"dormant" is bit 9, value 512, in the thing flags word.


Things given this flag are invincible and will remain in their spawn state until a script calls the objawaken function on them, from which point onward they act normally.
Things given this flag are invincible and will remain in their spawn state until a script calls the objawaken function on them, from which point onward they act normally.
[[Category:Editing reference]]
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: