Editing Thing flags
From Eternity Wiki
Jump to navigationJump to search
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: | ||
=== New to BOOM === | === New to BOOM === | ||
BOOM has implemented two new thing flags, | 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 | 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 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. | |||
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. | |||
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. | ||