SithRevan Posted January 5, 2007 Share Posted January 5, 2007 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. Link to comment Share on other sites More sharing options...
stoffe Posted January 5, 2007 Share Posted January 5, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.