Hey all, I've just gotten started with AGS and I'm havinh a great time learning and making my first game ever.
Is there a way to trigger a global script event once the player accumulates a certain score, or reaches a max score? Could be to trigger the end of the game, but I'm looking to trigger an event where the player receives an inventory item. I've scoured the forums and manual, all I seem to find are just ways to display the score.
I'm looking for something like:
if (score = 10)
{
player.AddInventory(item)
}
Thanks!
Is there a way to trigger a global script event once the player accumulates a certain score, or reaches a max score? Could be to trigger the end of the game, but I'm looking to trigger an event where the player receives an inventory item. I've scoured the forums and manual, all I seem to find are just ways to display the score.
I'm looking for something like:
if (score = 10)
{
player.AddInventory(item)
}
Thanks!