Ahoy, experienced scripters!
I got a little problem and it seems that I can't figure this one out on my own, so I kindly ask for a little help! *-*
So, in short, here is what I want to do:
I want to trigger something when a certain note-tagged enemy dies.
Setting up the note-tags is not an issue. But most of what comes after is. >.>
Triggering it when an enemy dies, and only when it is note-tagged with the required note-tags is just above my limited knowledge of scripting.
The note-tags would look like this:
<demon:12>
<animal:8>
And so on, so it consists from a type identifier (demon, animal, etc) and a number.
Now, I know that I should probably split the note-tag somehow in the script, because I will need the type identifier and the number separately for triggering what I want, which is adding some kind of XP to that type, where the amount of XP would be the number in the note-tag.
So, how could I do this?
Thanks for any help in advance!