Ok ladies and gentlemen, it's time for America's favorite game show: Help Mike Script! Where the prizes are insignificant and the questions will make you think, "wtf is wrong with this kid?".
ok, now that that's outta my system, back to business. As my title states, i was hoping that there was a way to have a function in the game call upon the script, and have the script check how much of one of the inventory items the player has, then act accordingly. say for instance, I'm just making this up, I have no idea if this is actual script or not,
If "InventoryA" > 15000 then Switch to "Map1"
If "InventoryA" < 15000 then Switch to "Map2"
i would be using this for a little bonus at the end where if the player has a minimum amount of the score inventory, they would go to like some sort of mini-game or something, and if they didn't it would just go back ot the menu. Now that I think about it, since my scoring goes by multiples of 5 points per enemy kill, I could have the number like 15002 and the score would never be = to that, it would always be < or >.
Let me know how plausable this sounds.