GetWeaponDrawn not working?

Post » Sat Mar 14, 2015 10:04 pm

Hello I'm working on my companion main script and Ive just learned that GetWeaponDrawn does not work

I checked it with messagebox

Like this:

Then I start a fight and nothing

On the other hand Player->GetWeaponDrawn does work (NPC_name->GetWeaponDrawn however doesnt). I have the script attached to my npc anyway. I have already done a lot of testing, there is no mistake. But both the scripting manual and wiki say that GetWeaponDrawn can be used with any actor, and the companion script itself uses it. I double checked both Grumpy and Julan scripts I had at hand. I dont get it, is there something I don't know?

User avatar
Ross Zombie
 
Posts: 3328
Joined: Wed Jul 11, 2007 5:40 pm

Return to III - Morrowind