Ah, I found it. It was the swallow sound, not the eating sound.
Looking at this jpeg, is this one global script just pertaining to one item? Because there are twelve ingredients that are dairy related. And this is just using NOM v2.14. When v2.2 comes out, I'll just change the IDs in the script. But my question is, do I need to put all 12 of these items to be removed in the script? And the point of removing them from the player is that when the player eats them, they are gone from the inventory, right?
http://img22.imageshack.us/img22/3121/11735011.jpg
NOM_food_cheese
NOM_food_cheese2
NOM_food_cheese3
NOM_food_cheese_pie
NOM_food_egg2
NOM_food_egg_boil
NOM_food_omelette
NOM_food_omelette_crab
1_milk_cow
1_milk_goat
food_kwama_egg_01
food_kwama_egg_02
Oh, and should _Ingredient_Global_Script be in quotes? I'm thinking it should be StopScript "_Ingredient_Global_Script" since the local script has the startscript command in quotes. You didn't put it in quotes so I was wondering about that. I put quotes in this one below.
Begin _Ingredient_Global_ScriptShort doOnceif ( doOnce == 0 ) Playsound "swallow" player->removeitem "NOM_food_cheese" 1 player->removeitem "NOM_food_cheese2" 1 player->removeitem "NOM_food_cheese3" 1 player->removeitem "NOM_food_cheese_pie" 1 player->removeitem "NOM_food_egg2" 1 player->removeitem "NOM_food_egg_boil" 1 player->removeitem "NOM_food_omelette" 1 player->removeitem "NOM_food_omelette_crab" 1 player->removeitem "1_milk_cow" 1 player->removeitem "1_milk_goat" 1 player->removeitem "food_kwama_egg_01" 1 player->removeitem "food_kwama_egg_02" 1 set doOnce to 1endif;do all your other timing stuff;once it's all doneStopScript "_Ingredient_Global_Script"End
Would that work for all the items all the time, not mattering which one I picked up, whether I consumed all of them at once or one each day or whatever?
Oh, and there's a section called Globals in the CS. Do I need to do anything with that? It's under the Gameplay tab.