# Kill goal

<figure><img src="https://3957347284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7r6RseTZTkJJcKqbC3EI%2Fuploads%2Fq8ehfLflnAJHLIZci88t%2F51.png?alt=media&#x26;token=ec4bacbb-5d2f-4cfe-8f7a-c0f5440f2122" alt="" width="128"><figcaption><p>Kill Quest Icon</p></figcaption></figure>

As you can see, I use ClassName field to define a target to kill. You can use just a part of the classname like I do for the zombies. If you put `Zmb`, it means that it will register all the kills of entities starting with a class name Zmb\*\*\*\*\*.&#x20;

If you want to be more restrictive, you can always put an exact classname like `ZmbF_CitizenANormal_Blue`

```json
{
    "Id": "killQuest",
    "TakerId": "player", 
    "QType": 2,
    "Name": "Kill Quest",
    "Description": "Time has come. You need to kill some zombies.",
    "Goals": [
        {
          "QType": 2,
          "ClassName": "Zmb",
          "Count": 5,
          "Description": "Kill 5 zombies!"
        }
    ],
    "Rewards": [
        {
          "RewardType": 1,
          "ClassName": "AirborneMask",
          "Amount": 1
        }
    ]
}
```
