Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - SeeingRedStudios

#1
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!
SMF spam blocked by CleanTalk