WeaponID...

You can make something happen when you select a certain weapon, here's
how...

First we'll need to create a new objective type. In the console, type:
quest_create_mis weapid,0

Now create a "QuestVarTrigger" and add: Trap/Quest Var = =x:weapid
(x) is the number of the object. We'll need to load a new script
now... In the console, type: script_load miss1 Now select your weapon,
open it's properites and add: MetaProperty/TrainingScripts/M1_Track_Inv

Now you can use the trigger to control whatever you wish when the
weapon is selected! (Don't forget to save!)

Note#1: Don't forget that if you've just created the object, the
object number will change later! Save your mission then reload to get
the correct number of the weapon, otherwise the trigger won't work!

Note#2: This is only suitable for use on either the Sword and/or the
Blackjack, unless you're only going to allow the player one each of
the projectiles!