Jump to content

Home

OnEquip event?


SithRevan

Recommended Posts

Hey everybody I was wondering if it would be possible to fire a script when an npc equips an item. If this is possible could you guys tell me how to do it, I would really appreciate it. Thanks everybody.:)

 

There is no OneQuip event hook for the KotOR engine as far as I know. (NWN has a module specific one, but it was added after KotOR was made.)

 

You can do a workaround using heartbeat scripts (if it could happen at any time) or recursive checks (if you only need to check briefly), where a script monitors what's currently in the player's eqipment slots and either take action directly, or signal an user-defined event when it changes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...