For those not in the know, the invaluable Fallout Editor manual has a lot of its script commands "greyed out", of which MCA (at least I think it's MCA) says:
A lot of these have of course been figured out already, but to my knowledge haven't actually been included in an updated manual, which I suggest we work on. Especially because some of the mistakes (including obj_can_hear_obj in the following) aren't even greyed out to begin with. Here's my very first, very minor updated version with the following inclusions:
inven_count: contrary to the manual, and counterintuitively, this doesn't work for containers, only critters (so unlike inven_ptr, and like critter_inven_obj). This caused me a lot of headaches.
obj_can_hear_obj: Pretty sure this doesn't do anything at all and isn't used in any scripts.
You can download/view it here. Feel free to update (I've used a dark blue color for any changes) and upload a new version in this thread.
Other changes that come to mind: @Sduibek and @phobos2077 figured out iirc that the damage in the explosion command only denotes max damage and that min damage is always 1, but I'm not sure about that.
edit: almost forgot the mother of all headaches:
critter_inven_obj: only returns the correct value for the active hand.
I do not know what the gray-shaded definition blocks mean, but it could be significant as you're tearing through the guts of these commands. Maybe gray-shaded means these commands are diseased. Or don't work. Or got cut. Explore and find out, or wait for Red! and some crazy Team X Russians to figure it out.
A lot of these have of course been figured out already, but to my knowledge haven't actually been included in an updated manual, which I suggest we work on. Especially because some of the mistakes (including obj_can_hear_obj in the following) aren't even greyed out to begin with. Here's my very first, very minor updated version with the following inclusions:
inven_count: contrary to the manual, and counterintuitively, this doesn't work for containers, only critters (so unlike inven_ptr, and like critter_inven_obj). This caused me a lot of headaches.
obj_can_hear_obj: Pretty sure this doesn't do anything at all and isn't used in any scripts.
You can download/view it here. Feel free to update (I've used a dark blue color for any changes) and upload a new version in this thread.
Other changes that come to mind: @Sduibek and @phobos2077 figured out iirc that the damage in the explosion command only denotes max damage and that min damage is always 1, but I'm not sure about that.
edit: almost forgot the mother of all headaches:
critter_inven_obj: only returns the correct value for the active hand.
Last edited: